ServerName popcon.debian.org ServerAlias popcon2.debian.org ServerAdmin popcon-developers@lists.alioth.debian.org ErrorLog /var/log/apache2/popcon.debian.org-error.log CustomLog /var/log/apache2/popcon.debian.org-access.log privacy ScriptAlias /cgi-bin /srv/popcon.debian.org/cgi-bin/ Require all granted RewriteEngine on RewriteCond "%{HTTP_USER_AGENT}" !popcon-upload RewriteRule ^(.*) https://popcon.debian.org$1 [R,L] ServerName popcon.debian.org ServerAlias popcon2.debian.org ServerAdmin popcon-developers@lists.alioth.debian.org Use common-debian-service-ssl popcon.debian.org Use common-ssl-HSTS Use http-pkp-popcon.debian.org ErrorLog /var/log/apache2/popcon.debian.org-error.log CustomLog /var/log/apache2/popcon.debian.org-access.log privacyssl DocumentRoot /srv/popcon.debian.org/www Require all granted AddDefaultCharset utf-8 ScriptAlias /cgi-bin /srv/popcon.debian.org/cgi-bin/ Require all granted RewriteEngine on RewriteRule ^/src:([-a-z+.0-9]+)$ https://qa.debian.org/developer.php?popcon=$1 [R,L] # vim:set syn=apache: