diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 20:24:45 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 20:24:45 -0700 |
commit | 3d2202f547168826b2e2b305c21ecb7bbc0222d0 (patch) | |
tree | f62b6e163ef9e32a4a58fbac0683576585a4448c /pinyconfigs/etc/apache2 | |
parent | 58adf27d1f1dd0157fc3812b15fc9abe31ccf36e (diff) | |
download | piny-code-3d2202f547168826b2e2b305c21ecb7bbc0222d0.tar.gz piny-code-3d2202f547168826b2e2b305c21ecb7bbc0222d0.zip |
Using proper SSL settings and making a redirect for secure.piny.be
Diffstat (limited to 'pinyconfigs/etc/apache2')
-rw-r--r-- | pinyconfigs/etc/apache2/sites-available/piny | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pinyconfigs/etc/apache2/sites-available/piny b/pinyconfigs/etc/apache2/sites-available/piny index 3ac13f5..2dfdb02 100644 --- a/pinyconfigs/etc/apache2/sites-available/piny +++ b/pinyconfigs/etc/apache2/sites-available/piny @@ -35,7 +35,7 @@ SSLEngine On SSLCertificateFile /etc/ssl/private/secure.piny.be.pem - SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem + SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem Include /etc/apache2/piny/www </VirtualHost> @@ -48,6 +48,7 @@ <VirtualHost *:443> ServerName secure.piny.be DocumentRoot /srv/www/secure.piny.be + RedirectMatch 301 ^/$ http://piny.be/ <Directory /> Options Indexes FollowSymLinks MultiViews @@ -77,7 +78,7 @@ SSLEngine On SSLCertificateFile /etc/ssl/private/secure.piny.be.pem - SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem + SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem Include /etc/apache2/piny/secure </VirtualHost> |