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

Contents of /trunk/pts/www/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2539 - (show annotations) (download)
Sat Jun 25 06:52:49 2011 UTC (22 months, 3 weeks ago) by hertzog
File size: 1389 byte(s)
Apply patch of Alexandre Rossi <alexandre.rossi@gmail.com> to fix 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 - devscripts (for uscan)
20 - python-soappy (for SOAP access to the BTS)
21 - python-debian
22
23 Installation :
24 --------------
25
26 The "web" directory should be set as DocumentRoot of your VirtualHost.
27
28 Example of apache config (adapt it to your case)
29 <VirtualHost master>
30 ServerName packages.qa.debian.org
31 DocumentRoot /org/packages.qa.debian.org/www/web
32 ErrorLog /var/log/apache/packages.qa.debian.org-error.log
33 CustomLog /var/log/apache/packages.qa.debian.org-access.log combined
34
35 ScriptAlias /cgi-bin /org/packages.qa.debian.org/www/cgi-bin
36
37 RewriteEngine on
38 RewriteRule ^/$ /common/index.html [L,R]
39 RewriteRule ^/lib([^/])([^/]+)$ /lib$1/lib$1$2.html [L,R]
40 RewriteRule ^/([^/])([^/]+)$ /$1/$1$2.html [L,R]
41 RewriteCond %{QUERY_STRING} ^src=lib(.)(.*)$
42 RewriteRule ^/common/index.html$ /lib%1/lib%1%2.html? [L,R,NE]
43 RewriteCond %{QUERY_STRING} ^src=(.)(.*)$
44 RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
45 </VirtualHost>
46

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5