summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/std_override_options.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/partials/std_override_options.erb')
-rw-r--r--templates/vhosts/partials/std_override_options.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vhosts/partials/std_override_options.erb b/templates/vhosts/partials/std_override_options.erb
new file mode 100644
index 0000000..95a5e6a
--- /dev/null
+++ b/templates/vhosts/partials/std_override_options.erb
@@ -0,0 +1,4 @@
+ AllowOverride <%= allow_override %>
+ <% if options.to_s != 'absent' || do_includes.to_s == 'true' || run_mode == 'fcgid' -%>
+ Options <%- unless options.to_s == 'absent' then -%><%= options %><% end -%><% if do_includes.to_s == 'true' && !options.include?('+Includes') -%> +Includes<% end -%><% if run_mode == 'fcgid' && !options.include?('+ExecCGI') -%> +ExecCGI<% end -%>
+ <% end -%>