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/ 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 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 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 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