From 5f0206aaeb5f8be87f6ee39448e7f36a3c7dd6ee Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 5 Dec 2008 17:21:54 +0000 Subject: - 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 --- templates/vhosts/perl/CentOS.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'templates/vhosts/perl') 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 @@ /"> 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] -- cgit v1.2.3