summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/apache2/sites-available/piny
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-06-01 20:24:45 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-06-01 20:24:45 -0700
commit3d2202f547168826b2e2b305c21ecb7bbc0222d0 (patch)
treef62b6e163ef9e32a4a58fbac0683576585a4448c /pinyconfigs/etc/apache2/sites-available/piny
parent58adf27d1f1dd0157fc3812b15fc9abe31ccf36e (diff)
downloadpiny-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/sites-available/piny')
-rw-r--r--pinyconfigs/etc/apache2/sites-available/piny5
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>