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

Contents of /trunk/pts/www/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2667 - (show annotations) (download)
Thu Nov 24 10:13:09 2011 UTC (17 months, 4 weeks ago) by hertzog
File size: 1427 byte(s)
Document dependency on python-zsi for the SOAP interface.
1 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
16 - mhonarc
17 - python
18 - python-lxml
19 - python-soappy (for SOAP access to the BTS)
20 - python-zsi (SOAP interface offered by the PTS)
21 - python-debian
22 - python-yaml
23
24 Installation :
25 --------------
26
27 The "web" directory should be set as DocumentRoot of your VirtualHost.
28
29 Example of apache config (adapt it to your case)
30 <VirtualHost master>
31 ServerName packages.qa.debian.org
32 DocumentRoot /org/packages.qa.debian.org/www/web
33 ErrorLog /var/log/apache/packages.qa.debian.org-error.log
34 CustomLog /var/log/apache/packages.qa.debian.org-access.log combined
35
36 ScriptAlias /cgi-bin /org/packages.qa.debian.org/www/cgi-bin
37
38 RewriteEngine on
39 RewriteRule ^/$ /common/index.html [L,R]
40 RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]
41 RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]
42 RewriteCond %{QUERY_STRING} ^src=lib(.)(.*)$
43 RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE]
44 RewriteCond %{QUERY_STRING} ^src=(.)(.*)$
45 RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
46 </VirtualHost>
47

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5