+# -*- mode: apache; -*-
<VirtualHost *>
ServerName bugs.debian.org
ServerAdmin owner@bugs.debian.org
- DocumentRoot /org/bugs.debian.org/www/
- ScriptAlias /cgi-bin /org/bugs.debian.org/cgi-bin
- ErrorLog /var/log/apache/bugs.debian.org-error.log
- CustomLog /var/log/apache/bugs.debian.org-access.log combined
+ DocumentRoot /var/lib/debbugs/www/
+
+ ErrorLog /var/log/apache2/debbugs-error.log
+ CustomLog /var/log/apache2/debbugs-access.log combined
+
+ <Directory /var/lib/debbugs/www>
+ Options Indexes SymLinksIfOwnerMatch MultiViews
+ DirectoryIndex index.en.html
+ Require all granted
+ </Directory>
+
+ ScriptAlias /cgi-bin/ /var/lib/debbugs/www/cgi/
+ <Directory "/var/lib/debbugs/www/cgi/">
+ AllowOverride None
+ Options ExecCGI SymLinksIfOwnerMatch
+ Require all granted
+ </Directory>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} .*apt-listbugs.*
RewriteRule .* - [L]
RewriteRule ^/([0-9]+)$ /cgi-bin/bugreport.cgi?bug=$1 [L,R,NE]
RewriteRule ^/([^/]+)$ /cgi-bin/pkgreport.cgi?pkg=$1 [L,R,NE]
- <IfModule mod_perl.c>
- <Directory /org/bugs.debian.org/cgi-bin/sql>
- SetHandler perl-script
- PerlHandler Apache::Registry
- Options +ExecCGI
- </Directory>
- </IfModule>
</VirtualHost>