My /etc/apache2/conf.d/squirrelmail.conf
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 webmail4.tmnet.se
RedirectMatch permanent .* https://webmail4.tmnet.se/
CERT GENERATED WITH CN webmail4.tmnet.se
The computer hostname is mail4.tmnet.se
*-------
[Wed Jul 25 23:28:03 2007] [notice] caught SIGTERM, shutting down
[Wed Jul 25 23:28:13 2007] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 25 23:28:13 2007] [warn] RSA server certificate CommonName (CN) `webmail4.tmnet.se' does NOT match server name!?
[Wed Jul 25 23:28:14 2007] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 25 23:28:14 2007] [warn] RSA server certificate CommonName (CN) `webmail4.tmnet.se' does NOT match server name!?
[Wed Jul 25 23:28:14 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations