/[qa]/trunk/pts/apache.conf
ViewVC logotype

Contents of /trunk/pts/apache.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2661 - (show annotations) (download)
Mon Nov 21 20:29:13 2011 UTC (18 months ago) by hertzog
File size: 952 byte(s)
Update config for Apache2 and use /srv/ instead or /org/.
1
2 <VirtualHost *:80>
3 ServerName packages.qa.debian.org
4 ServerAdmin owner@packages.qa.debian.org
5 DocumentRoot /srv/packages.qa.debian.org/www/web
6 ErrorLog /var/log/apache2/packages.qa.debian.org-error.log
7 CustomLog /var/log/apache2/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 /srv/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 ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.html [L,R]
19 RewriteRule ^/\s*([^/\s])([^/\s]+)\s*$ /$1/$1$2.html [L,R]
20 RewriteCond %{QUERY_STRING} ^src=\s*lib([^\s])([^\s]+)\s*$
21 RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE]
22 RewriteCond %{QUERY_STRING} ^src=\s*([^\s])([^\s]+)\s*$
23 RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
24 </VirtualHost>
25

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5