summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/templates/vhosts/partials/std_override_options.erb
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apache/templates/vhosts/partials/std_override_options.erb')
-rw-r--r--puppet/modules/apache/templates/vhosts/partials/std_override_options.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/modules/apache/templates/vhosts/partials/std_override_options.erb b/puppet/modules/apache/templates/vhosts/partials/std_override_options.erb
new file mode 100644
index 00000000..6d8b74f8
--- /dev/null
+++ b/puppet/modules/apache/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' -%><%= @options %><% end -%><% if @do_includes.to_s == 'true' && !@options.include?('+Includes') -%> +Includes<% end -%><% if @run_mode == 'fcgid' && !@options.include?('+ExecCGI') -%> +ExecCGI<% end -%>
+<% end -%>