From 29355a1653a12742928ce563e4c077a77f67c9f9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 Sep 2009 04:26:13 -0700 Subject: Import of unversioned piny code. --- etc/apache2/sites-available/001-piny | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 etc/apache2/sites-available/001-piny (limited to 'etc/apache2/sites-available/001-piny') diff --git a/etc/apache2/sites-available/001-piny b/etc/apache2/sites-available/001-piny new file mode 100644 index 0000000..e283977 --- /dev/null +++ b/etc/apache2/sites-available/001-piny @@ -0,0 +1,56 @@ + + ServerName piny.svcs.cs.pdx.edu + + DocumentRoot /srv/www/piny.svcs.cs.pdx.edu + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + + + RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/ + + + + ServerName secure.piny.svcs.cs.pdx.edu + RedirectMatch 301 (.*) https://secure.piny.svcs.cs.pdx.edu$1 + + + + ServerName secure.piny.svcs.cs.pdx.edu + DocumentRoot /srv/www/secure.piny.svcs.cs.pdx.edu + + + Options Indexes FollowSymLinks MultiViews + AllowOverride None + + + RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/ + + SSLEngine On + SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem + + + + ServerName cgi.piny.svcs.cs.pdx.edu + RedirectMatch 301 (.*) https://cgi.piny.svcs.cs.pdx.edu$1 + + + + ServerName cgi.piny.svcs.cs.pdx.edu + DocumentRoot /srv/www/cgi.piny.svcs.cs.pdx.edu + + + SSLRequireSSL + SetHandler cgi-script + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + + ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi + + Include /etc/apache2/piny-enabled + + SSLEngine On + SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem + -- cgit v1.2.3