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.2 by eulisse, Mon Dec 18 11:16:29 2006 UTC

# Line 21 | Line 21 | static_filter.on = True
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