<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/apache/debbugs-error.log
+ CustomLog /var/log/apache/debbugs-access.log combined
+
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
+
+ <Directory /var/lib/debbugs/www>
+ Options -Indexes FollowSymLinks MultiViews
+ AllowOverride Options
+ Order allow,deny
+ allow from all
+ </Directory>
+
+ <Directory /var/lib/debbugs/www/db>
+ AllowOverride Indexes
+ </Directory>
+
+ <Directory /var/lib/debbugs/www/txt>
+ Options +Indexes
+ </Directory>
+
+ ScriptAlias /cgi-bin/ /var/lib/debbugs/www/cgi/
+ <Directory "/var/lib/debbugs/www/cgi/">
+ AllowOverride None
+ Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
+ Order allow,deny
+ Allow from all
+ </Directory>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} .*apt-listbugs.*
# RewriteLog /org/bugs.debian.org/apache-rewrite.log
# RewriteLogLevel 0
- RewriteRule ^/$ http://www.debian.org/Bugs/
+ #RewriteRule ^/$ http://www.debian.org/Bugs/
RewriteRule ^/(robots\.txt|release-critical|apt-listbugs\.html)$ - [L]
# The following two redirect to up-to-date pages
RewriteRule ^/[[:space:]]*#?([[:digit:]][[:digit:]][[:digit:]]+)([;&].+)?$ /cgi-bin/bugreport.cgi?bug=$1$2 [L,R,NE]