From 27a622d8691f16b82b0afae69f9f4fedd15fe6a3 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 29 Oct 2010 19:48:20 -0500 Subject: Moved deployment-specific files and configuration to deploy/ until someone fixes the debian packages. --- deploy/etc/apache2/sites-available/001-piny | 63 +++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 deploy/etc/apache2/sites-available/001-piny (limited to 'deploy/etc/apache2/sites-available/001-piny') diff --git a/deploy/etc/apache2/sites-available/001-piny b/deploy/etc/apache2/sites-available/001-piny new file mode 100644 index 0000000..6e5c3fd --- /dev/null +++ b/deploy/etc/apache2/sites-available/001-piny @@ -0,0 +1,63 @@ + + ServerName piny.be + + DocumentRoot /srv/www/piny.be + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + + + RedirectMatch 301 ^/$ http://piny.be/piny-web/ + + + + ServerName www.piny.be + RedirectMatch 301 (.*) http://piny.be$1 + + + + ServerName piny.be + DocumentRoot /srv/www/piny.be + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + + + RedirectMatch 301 ^/$ http://piny.be/piny-web/ + + SSLEngine On + SSLCertificateFile /etc/ssl/private/secure.piny.be.pem + SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem + + + + ServerName secure.piny.be + RedirectMatch 301 (.*) https://secure.piny.be$1 + + + + ServerName secure.piny.be + DocumentRoot /srv/www/secure.piny.be + + + SSLRequireSSL + SetHandler cgi-script + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + + ScriptAlias /cgit /usr/lib/cgi-bin/cgit.cgi + + Include /etc/apache2/piny-enabled + + SSLEngine On + SSLCertificateFile /etc/ssl/private/secure.piny.be.pem + SSLCACertificateFile /etc/ssl/private/GandiStandardSSLCA.pem + + + + ServerName piny.svcs.cs.pdx.edu + RedirectMatch 301 (.*) http://piny.be$1 + -- cgit v1.2.3