hi
howto redirect SquirrelMail login page from http to
https using Apache2 ?
I've tried to add the following entry:
Code:
# cat /etc/apache2/sites-enabled/000-default
Alias /mail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
# access to configtest is limited by default to prevent information leak
<Files configtest.php>
order deny,allow
deny from all
allow from 127.0.0.1
</Files>
</Directory>
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /mail>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://mydomain.net/mail [L]
</Location>
</IfModule>
</IfModule>
but it doesn't work.