1 |
< |
### RPM cms webtools ALPHA |
1 |
> |
### RPM cms webtools ALPHA-cp3 |
2 |
|
%define moduleName WEBTOOLS |
3 |
|
%define exportName WEBTOOLS |
4 |
< |
%define cvstag HEAD |
4 |
> |
%define cvstag V00-09-00 |
5 |
|
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e |
6 |
|
Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/%{moduleName}.tar.gz |
7 |
|
|
14 |
|
cat << \EOF_CHERRYPY_CONF > %i/etc/cherrypy.conf |
15 |
|
# Serve a complete directory |
16 |
|
[/Common] |
17 |
< |
static_filter.on = True |
18 |
< |
static_filter.dir = %i/Common |
17 |
> |
tools.staticdir.on = True |
18 |
> |
tools.staticdir.dir = %i/Common |
19 |
|
[/Templates] |
20 |
< |
static_filter.on = True |
21 |
< |
static_filter.dir = %i/Templates |
20 |
> |
tools.staticdir.on = True |
21 |
> |
tools.staticdir.dir = %i/Templates |
22 |
> |
# Serve a complete directory |
23 |
> |
[/WEBTOOLS/Common] |
24 |
> |
tools.staticdir.on = True |
25 |
> |
tools.staticdir.dir = %i/Common |
26 |
> |
[/WEBTOOLS/Templates] |
27 |
> |
tools.staticdir.on = True |
28 |
> |
tools.staticdir.dir = %i/Templates |
29 |
|
EOF_CHERRYPY_CONF |
23 |
– |
|
30 |
|
cat << \EOF_APACHE2_HEADER > %i/etc/apache2-header.conf |
31 |
|
RewriteEngine On |
32 |
|
RewriteBase /cms/services |
52 |
|
%{relocateConfig}etc/apache2-header.conf |
53 |
|
%{relocateConfig}etc/apache2-footer.conf |
54 |
|
|
55 |
+ |
|