ServerName piny.be DocumentRoot /srv/www/piny.be Options Indexes FollowSymLinks MultiViews AllowOverride None Alias /js /usr/share/javascript RedirectMatch 301 ^/$ http://piny.be/piny-hosting/ Include /etc/apache2/piny/www ServerName www.piny.be RedirectMatch 301 (.*) http://piny.be$1 ServerName piny.be DocumentRoot /srv/www/piny.be Options Indexes FollowSymLinks MultiViews AllowOverride None Alias /js /usr/share/javascript RedirectMatch 301 ^/$ http://piny.be/piny-hosting/ SSLEngine On SSLCertificateFile /etc/ssl/private/secure.piny.be.pem SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem Include /etc/apache2/piny/www ServerName secure.piny.be RedirectMatch 301 (.*) https://secure.piny.be$1 ServerName secure.piny.be DocumentRoot /srv/www/secure.piny.be RedirectMatch 301 ^/$ http://piny.be/ SSLRequireSSL Options Indexes FollowSymLinks MultiViews AllowOverride None SetHandler cgi-script Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch AuthPAM_Enabled on AuthGROUP_Enabled off # doesn't work with valid-user for some reason AuthPAM_FallThrough off AuthBasicAuthoritative off AuthType Basic AuthName "User account for piny.be needed." Require valid-user ScriptAlias /cgit /usr/lib/cgi-bin/cgit.cgi ScriptAlias /piny-newuser /usr/lib/cgi-bin/piny/newuser.cgi ScriptAlias /piny-validate /usr/lib/cgi-bin/piny/checkconstraint.cgi ScriptAlias /auth /usr/lib/cgi-bin/piny/auth SSLEngine On SSLCertificateFile /etc/ssl/private/secure.piny.be.pem SSLCertificateChainFile /etc/ssl/private/GandiStandardSSLCA.pem Include /etc/apache2/piny/secure ServerName piny.svcs.cs.pdx.edu RedirectMatch 301 (.*) http://piny.be$1