From 01b2048dbf02ac726dabde5e846b9d6ac9aff0e6 Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 11 Mar 2011 14:53:39 -0300 Subject: initial recommit --- templates/apache/vhosts/mail.erb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 templates/apache/vhosts/mail.erb (limited to 'templates/apache/vhosts/mail.erb') diff --git a/templates/apache/vhosts/mail.erb b/templates/apache/vhosts/mail.erb new file mode 100644 index 0000000..1467c47 --- /dev/null +++ b/templates/apache/vhosts/mail.erb @@ -0,0 +1,33 @@ +# begin vhost for mail.<%= domain > + + ServerName mail.<%= domain > + DocumentRoot /usr/share/squirrelmail + + # begin mail config + + Options Indexes Includes FollowSymLinks MultiViews + AllowOverride All + + # end mail config + + + Options Indexes FollowSymLinks + + php_flag register_globals off + + + php_flag register_globals off + + + DirectoryIndex index.php + + + # access to configtest is limited by default to prevent information leak + + order deny,allow + deny from all + allow from 127.0.0.1 + + + +# end vhost for mail.<%= domain > -- cgit v1.2.3