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