summaryrefslogtreecommitdiff
path: root/templates/vhosts/php/CentOS.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php/CentOS.erb')
-rw-r--r--templates/vhosts/php/CentOS.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index 26cbe23..cee935e 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -13,7 +13,7 @@
<Directory "<%= documentroot %>/">
AllowOverride <%= allow_override %>
<%- unless options.to_s == 'absent' then -%>
- Options <%= options %>
+ Options <%= options %> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%>
<%- end -%>
<%- unless htpasswd_file.to_s == 'absent' then -%>
AuthType Basic
@@ -34,7 +34,4 @@
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>
- RewriteEngine on
- RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
- RewriteRule .* - [F]
</VirtualHost>