ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/webtools.spec
(Generate patch)

Comparing COMP/CMSDIST/webtools.spec (file contents):
Revision 1.1 by eulisse, Mon Dec 18 10:23:06 2006 UTC vs.
Revision 1.4 by eulisse, Tue Dec 19 17:33:05 2006 UTC

# Line 1 | Line 1
1 < ### RPM cms webtools alpha
1 > ### RPM cms webtools ALPHA
2   %define moduleName WEBTOOLS
3   %define exportName WEBTOOLS
4   %define cvstag HEAD
# Line 15 | Line 15 | cat << \EOF_CHERRYPY_CONF > %i/etc/cherr
15   # Serve a complete directory
16   [/Common]
17   static_filter.on = True
18 < static_filter.dir = "%i/Common"
18 > static_filter.dir = %i/Common
19   [/Templates]
20   static_filter.on = True
21 < static_filter.dir = "%i/Templates"
21 > static_filter.dir = %i/Templates
22   EOF_CHERRYPY_CONF
23  
24 + cat << \EOF_APACHE2_HEADER > %i/etc/apache2-header.conf
25 + RewriteEngine On
26 + RewriteBase /cms/services
27 + EOF_APACHE2_HEADER
28 +
29 + cat << \EOF_APACHE2_CONF > %i/etc/apache2.conf
30 + <Directory %i/Common>
31 + Allow from all
32 + </Directory>
33 + <Directory %i/Templates>
34 + Allow from all
35 + </Directory>
36 + EOF_APACHE2_CONF
37 +
38 + cat << \EOF_APACHE2_FOOTER > %i/etc/apache2-footer.conf
39 + RewriteRule ^/cms/services/webtools/Common(.*)$ %i/Common$1
40 + RewriteRule ^/cms/services/webtools/Templates(.*)$ %i/Templates$1
41 + EOF_APACHE2_FOOTER
42 +
43   %post
44   %{relocateConfig}etc/cherrypy.conf
45 + %{relocateConfig}etc/apache2.conf
46 + %{relocateConfig}etc/apache2-header.conf
47 + %{relocateConfig}etc/apache2-footer.conf
48 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines