ServerName piny.be DocumentRoot /srv/http/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/https/piny.be Options Indexes FollowSymLinks MultiViews AllowOverride None Alias /js /usr/share/javascript RedirectMatch 301 ^/$ http://piny.be/piny-hosting/ SSLEngine On Include /etc/apache2/piny/www ServerName secure.piny.be RedirectMatch 301 (.*) https://secure.piny.be$1 ServerName secure.piny.be DocumentRoot /srv/https/secure.piny.be RedirectMatch 301 ^/$ http://piny.be/ SSLRequireSSL Options Indexes FollowSymLinks MultiViews AllowOverride None SetHandler cgi-script Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch AuthBasicProvider PAM AuthPAMService other AuthBasicAuthoritative off AuthType Basic AuthName "User account for piny.be needed." Require valid-user Alias /_cgit /usr/share/cgit 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 Include /etc/apache2/piny/secure