diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:28 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:28 -0400 |
commit | 807877b736c5f56689229b31024861f19a9b0ac6 (patch) | |
tree | 95fed058eaa50765bf486ccc59e46123666acabe /templates/vhosts/partials/std_override_options.erb |
Squashed 'puppet/modules/apache/' content from commit 415e950
git-subtree-dir: puppet/modules/apache
git-subtree-split: 415e9504f99dca3ccaa4dfd389dde24ad9d0e01c
Diffstat (limited to 'templates/vhosts/partials/std_override_options.erb')
-rw-r--r-- | templates/vhosts/partials/std_override_options.erb | 4 |
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 00000000..6d8b74f8 --- /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' -%><%= @options %><% end -%><% if @do_includes.to_s == 'true' && !@options.include?('+Includes') -%> +Includes<% end -%><% if @run_mode == 'fcgid' && !@options.include?('+ExecCGI') -%> +ExecCGI<% end -%> +<% end -%> |