David Bear wrote:
# see http://betabug.ch/zope/witch
RewriteRule ^/z2$\
https/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P]

RewriteRule ^/z2/(.*)\
https/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P]

These rules need to appear in the virtual host that's listening on port 443, my suspicion is that it's being applied to the virtual host listening on port 80, and so doing nothing.

RewriteRule ^/z2$\
http/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P]

RewriteRule ^/z2/(.*)\
http/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P]

In both cases, I see no need for two rules, just the one should suffice:

RewriteRule ^/z2(.*)\
http/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2$1 [L,P]



Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to