X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=files%2Fetc%2Fsquirrelmail%2Fapache.conf.restore;fp=files%2Fetc%2Fsquirrelmail%2Fapache.conf.restore;h=d594d2720894c9dcf29dcdebe7a721805f90c440;hb=c9eea4899bbc037a064ae20a1cd2c9459a49afa8;hp=0000000000000000000000000000000000000000;hpb=ac1853d401b9f68550614afb960ddfcafdcb239a;p=carnet-upgrade.git diff --git a/files/etc/squirrelmail/apache.conf.restore b/files/etc/squirrelmail/apache.conf.restore new file mode 100644 index 0000000..d594d27 --- /dev/null +++ b/files/etc/squirrelmail/apache.conf.restore @@ -0,0 +1,44 @@ +Alias /squirrelmail /usr/share/squirrelmail + + + 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 + + + +# users will prefer a simple URL like http://webmail.example.com +# +# DocumentRoot /usr/share/squirrelmail +# ServerName webmail.example.com +# + +# redirect to https when available (thanks omen@descolada.dartmouth.edu) +# +# Note: There are multiple ways to do this, and which one is suitable for +# your site's configuration depends. Consult the apache documentation if +# you're unsure, as this example might not work everywhere. +# +# +# +# +# RewriteEngine on +# RewriteCond %{HTTPS} !^on$ [NC] +# RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] +# +# +# +