From 82f9c9f1fa19c59e296570412656c66607d46f48 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 7 Nov 2010 00:09:53 -0700 Subject: pinyconfigs Adding a package that does all the config file magic to get a piny instance running. Signed-off-by: Julian Blake Kongslie --- pinyconfigs/etc/apache2/sites-available/piny | 63 ++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 pinyconfigs/etc/apache2/sites-available/piny (limited to 'pinyconfigs/etc/apache2/sites-available/piny') diff --git a/pinyconfigs/etc/apache2/sites-available/piny b/pinyconfigs/etc/apache2/sites-available/piny new file mode 100644 index 0000000..05808f4 --- /dev/null +++ b/pinyconfigs/etc/apache2/sites-available/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