Minor bugfixes to main queue.
[carnet-upgrade.git] / usr / share / carnet-upgrade / files / etc / squirrelmail / apache.conf
1 Alias /squirrelmail /usr/share/squirrelmail
2
3 <Directory /usr/share/squirrelmail>
4   php_flag register_globals off
5   Options Indexes FollowSymLinks
6   <IfModule mod_dir.c>
7     DirectoryIndex index.php
8   </IfModule>
9
10   # access to configtest is limited by default to prevent information leak
11   <Files configtest.php>
12     order deny,allow
13     deny from all
14     allow from 127.0.0.1
15   </Files>
16 </Directory>
17
18 # users will prefer a simple URL like http://webmail.example.com
19 #<VirtualHost 1.2.3.4>
20 #  DocumentRoot /usr/share/squirrelmail
21 #  ServerName webmail.example.com
22 #</VirtualHost>
23
24 # redirect to https when available (thanks omen@descolada.dartmouth.edu)
25 #
26 #  Note: There are multiple ways to do this, and which one is suitable for
27 #  your site's configuration depends. Consult the apache documentation if
28 #  you're unsure, as this example might not work everywhere.
29 #
30 #<IfModule mod_rewrite.c>
31 #  <IfModule mod_ssl.c>
32 #    <Location /squirrelmail>
33 #      RewriteEngine on
34 #      RewriteCond %{HTTPS} !^on$ [NC]
35 #      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
36 #    </Location>
37 #  </IfModule>
38 #</IfModule>
39