/[qa]/trunk/pts/www/README
ViewVC logotype

Diff of /trunk/pts/www/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 400 by hertzog, Mon Aug 12 17:20:36 2002 UTC revision 401 by hertzog, Mon Sep 23 09:57:27 2002 UTC
# Line 18  Installation : Line 18  Installation :
18  --------------  --------------
19    
20  The "web" directory should be set as DocumentRoot of your VirtualHost.  The "web" directory should be set as DocumentRoot of your VirtualHost.
 AllowOverride All is required.  
   
 pts.cgi and error404.cgi (in the bin/ dir) must be harldinked into  
 web/common/.  
21    
22  Example of apache config (adapt it to your case)  Example of apache config (adapt it to your case)
23  <VirtualHost master>  <VirtualHost master>
24  ServerName packages.qa.debian.org  ServerName packages.qa.debian.org
25  DocumentRoot /org/packages.qa.debian.org/www/web  DocumentRoot /org/packages.qa.debian.org/www/web
26    ErrorLog /var/log/apache/packages.qa.debian.org-error.log
27    CustomLog /var/log/apache/packages.qa.debian.org-access.log combined
28    
29    ScriptAlias /cgi-bin /org/packages.qa.debian.org/www/cgi-bin
30    
31  RewriteEngine on  RewriteEngine on
32  RewriteRule ^/$ /common/index.html [L,R]  RewriteRule ^/$ /common/index.html [L,R]
33  RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]  RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]
34  RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]  RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]
35    RewriteCond %{QUERY_STRING} ^src=lib(.)(.*)$
36    RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE]
37    RewriteCond %{QUERY_STRING} ^src=(.)(.*)$
38    RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
39  </VirtualHost>  </VirtualHost>
40    

Legend:
Removed from v.400  
changed lines
  Added in v.401

  ViewVC Help
Powered by ViewVC 1.1.5