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

Contents of /trunk/pts/www/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (hide annotations) (download)
Mon Sep 23 09:57:27 2002 UTC (10 years, 8 months ago) by hertzog
File size: 1303 byte(s)
* Removed the javascript for the "Jump to" form. Instead I use a
  clever RewriteRule that redirect the url of the form request...
1 hertzog 344 This is the code of the PTS web interface.
2    
3     Principle :
4     -----------
5    
6     The system gathers data in incoming from various sources (this is done by
7     bin/update_incoming.sh). Those data are merged in a set of XML file in the
8     base directory (this is done by bin/*_to_xml.py). Those XML files are then
9     transformed in HTML files (put in the web directory) with xsltproc and the
10     xsl/pts.xsl stylesheet.
11    
12     Dependencies :
13     --------------
14    
15     xsltproc, mhonarc, python2.2, python2.2-xml
16    
17     Installation :
18     --------------
19    
20     The "web" directory should be set as DocumentRoot of your VirtualHost.
21    
22     Example of apache config (adapt it to your case)
23     <VirtualHost master>
24     ServerName packages.qa.debian.org
25     DocumentRoot /org/packages.qa.debian.org/www/web
26 hertzog 401 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 hertzog 344 RewriteEngine on
32     RewriteRule ^/$ /common/index.html [L,R]
33     RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]
34     RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]
35 hertzog 401 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 hertzog 344 </VirtualHost>
40    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5