All pastes #633663 Raw Edit

Unnamed

public text v1 · immutable
#633663 ·published 2007-07-25 21:32 UTC
rendered paste body
My /etc/apache2/conf.d/squirrelmail.conf
Alias /squirrelmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
  Options Indexes FollowSymLinks
  <IfModule mod_php4.c>
    php_flag register_globals off
  </IfModule>
  <IfModule mod_php5.c>
    php_flag register_globals off
  </IfModule>
  <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>

# users will prefer a simple URL like http://webmail.example.com
<VirtualHost webmail4.tmnet.se>
  DocumentRoot /usr/share/squirrelmail
  ServerName webmail4.tmnet.se
  RedirectMatch permanent .* https://webmail4.tmnet.se/
</VirtualHost>


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