| 1 |
|
| 2 |
<VirtualHost *>
|
| 3 |
ServerName packages.qa.debian.org
|
| 4 |
ServerAdmin owner@packages.qa.debian.org
|
| 5 |
DocumentRoot /org/packages.qa.debian.org/www/web
|
| 6 |
ErrorLog /var/log/apache/packages.qa.debian.org-error.log
|
| 7 |
CustomLog /var/log/apache/packages.qa.debian.org-access.log combined
|
| 8 |
|
| 9 |
# All our html pages are UTF-8
|
| 10 |
AddType "text/html; charset=UTF-8" html
|
| 11 |
|
| 12 |
ScriptAlias /cgi-bin /org/packages.qa.debian.org/www/cgi-bin
|
| 13 |
ErrorDocument 404 /cgi-bin/error404.cgi
|
| 14 |
|
| 15 |
RewriteEngine on
|
| 16 |
RewriteRule ^/$ /common/index.html [L,R]
|
| 17 |
RewriteRule ^/favicon\.ico$ http://www.debian.org/favicon.ico [L,R]
|
| 18 |
RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]
|
| 19 |
RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]
|
| 20 |
RewriteCond %{QUERY_STRING} ^src=lib(.)(.+)$
|
| 21 |
RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE]
|
| 22 |
RewriteCond %{QUERY_STRING} ^src=(.)(.+)$
|
| 23 |
RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
|
| 24 |
</VirtualHost>
|
| 25 |
|