summaryrefslogtreecommitdiff
path: root/templates/vhosts/perl
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-05 17:21:54 +0000
committermh <mh@immerda.ch>2008-12-05 17:21:54 +0000
commit5f0206aaeb5f8be87f6ee39448e7f36a3c7dd6ee (patch)
tree17f031e4fdbcc7aef98012066ceba3c13be54cb8 /templates/vhosts/perl
parentb690f927b3cb8d24c0ef514a989e47ee112eb0b9 (diff)
- add index.shtml to default index if we do includ
es, as well add +Includes to the directory options if not yet done - removed the security rewrite as it is already in the defaults.inc! - removed the enforcement of mod_security
Diffstat (limited to 'templates/vhosts/perl')
-rw-r--r--templates/vhosts/perl/CentOS.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/vhosts/perl/CentOS.erb b/templates/vhosts/perl/CentOS.erb
index 2dce115..92e703c 100644
--- a/templates/vhosts/perl/CentOS.erb
+++ b/templates/vhosts/perl/CentOS.erb
@@ -18,7 +18,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
@@ -45,7 +45,4 @@
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>
- RewriteEngine on
- RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
- RewriteRule .* - [F]
</VirtualHost>