All pastes #633682 Raw Edit

Something

public text v1 · immutable
#633682 ·published 2007-07-25 21:48 UTC
rendered paste body
mail4:/etc/apache2/conf.d# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...[Wed Jul 25 23:47:36 2007] [warn] VirtualHost webmail4.tmnet.se:0 overlaps with VirtualHost webmail4.tmnet.se:443, the first has precedence, perhaps you need a NameVirtualHost directive

[Wed Jul 25 23:47:46 2007] [warn] VirtualHost webmail4.tmnet.se:0 overlaps with VirtualHost webmail4.tmnet.se:443, the first has precedence, perhaps you need a NameVirtualHost directive


<VirtualHost webmail4.tmnet.se>
  DocumentRoot /usr/share/squirrelmail
  ServerName webmail4.tmnet.se
  RedirectMatch permanent .* https://webmail4.tmnet.se/
</VirtualHost>
<VirtualHost webmail4.tmnet.se:443>
ServerName webmail4.tmnet.se:443
UseCanonicalName On
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
SSLCertificateKeyFile /etc/apache2/ssl/apache.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
# Redirect / https://bar.example.org/
</VirtualHost>