X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=usr%2Fshare%2Fcarnet-upgrade%2Ffiles%2Fetc%2Fsquirrelmail%2Fapache.conf;fp=usr%2Fshare%2Fcarnet-upgrade%2Ffiles%2Fetc%2Fsquirrelmail%2Fapache.conf;h=6c055b1246abed808b3fb6ecdf2b4ed6f0fed01a;hb=039bb4c83072ff6930f464a4ed00c1c97099a3ca;hp=0000000000000000000000000000000000000000;hpb=9e8ab2c99a8eb59f0a500734371be21e10fe39c8;p=carnet-upgrade.git diff --git a/usr/share/carnet-upgrade/files/etc/squirrelmail/apache.conf b/usr/share/carnet-upgrade/files/etc/squirrelmail/apache.conf new file mode 100644 index 0000000..6c055b1 --- /dev/null +++ b/usr/share/carnet-upgrade/files/etc/squirrelmail/apache.conf @@ -0,0 +1,39 @@ +Alias /squirrelmail /usr/share/squirrelmail + + + php_flag register_globals off + Options Indexes FollowSymLinks + + 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] +# +# +# +