summaryrefslogtreecommitdiff
path: root/etc/apache2
diff options
context:
space:
mode:
authorroot <root@piny.svcs.cs.pdx.edu>2009-09-12 03:27:30 -0700
committerroot <root@piny.svcs.cs.pdx.edu>2009-09-12 03:27:30 -0700
commit201b6018423ea06bc0f2ea460ca48f78171e4f69 (patch)
treed416cf6c87e1b8f0d4eb0b55deac0590c0f71eb3 /etc/apache2
parentecb4331bd0d0f062da650f1dc65f33974b8391a4 (diff)
downloadpiny-code-201b6018423ea06bc0f2ea460ca48f78171e4f69.tar.gz
piny-code-201b6018423ea06bc0f2ea460ca48f78171e4f69.zip
Changing all piny.svcs.cs.pdx.edu urls and paths to piny.be.
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/001-piny37
1 files changed, 22 insertions, 15 deletions
diff --git a/etc/apache2/sites-available/001-piny b/etc/apache2/sites-available/001-piny
index 5e29fe0..6e5c3fd 100644
--- a/etc/apache2/sites-available/001-piny
+++ b/etc/apache2/sites-available/001-piny
@@ -1,46 +1,47 @@
<VirtualHost *:80>
- ServerName piny.svcs.cs.pdx.edu
+ ServerName piny.be
- DocumentRoot /srv/www/piny.svcs.cs.pdx.edu
+ DocumentRoot /srv/www/piny.be
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
- RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/
+ RedirectMatch 301 ^/$ http://piny.be/piny-web/
</VirtualHost>
<VirtualHost *:80>
- ServerName secure.piny.svcs.cs.pdx.edu
- RedirectMatch 301 (.*) https://secure.piny.svcs.cs.pdx.edu$1
+ ServerName www.piny.be
+ RedirectMatch 301 (.*) http://piny.be$1
</VirtualHost>
<VirtualHost *:443>
- ServerName secure.piny.svcs.cs.pdx.edu
- DocumentRoot /srv/www/secure.piny.svcs.cs.pdx.edu
+ ServerName piny.be
+ DocumentRoot /srv/www/piny.be
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
- RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/
+ RedirectMatch 301 ^/$ http://piny.be/piny-web/
SSLEngine On
- SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem
+ SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
+ SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
</VirtualHost>
<VirtualHost *:80>
- ServerName cgi.piny.svcs.cs.pdx.edu
- RedirectMatch 301 (.*) https://cgi.piny.svcs.cs.pdx.edu$1
+ ServerName secure.piny.be
+ RedirectMatch 301 (.*) https://secure.piny.be$1
</VirtualHost>
<VirtualHost *:443>
- ServerName cgi.piny.svcs.cs.pdx.edu
- DocumentRoot /srv/www/cgi.piny.svcs.cs.pdx.edu
+ ServerName secure.piny.be
+ DocumentRoot /srv/www/secure.piny.be
- <Directory "/srv/www/cgi.piny.svcs.cs.pdx.edu">
+ <Directory "/srv/www/secure.piny.be">
SSLRequireSSL
SetHandler cgi-script
AllowOverride None
@@ -52,5 +53,11 @@
Include /etc/apache2/piny-enabled
SSLEngine On
- SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem
+ SSLCertificateFile /etc/ssl/private/secure.piny.be.pem
+ SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem
+</VirtualHost>
+
+<VirtualHost *:80>
+ ServerName piny.svcs.cs.pdx.edu
+ RedirectMatch 301 (.*) http://piny.be$1
</VirtualHost>