[Zope] ADVICE needed: multi-site Zope installations, PCGI and
ZServer
Steve Spicklemire
steve@spvi.com
Wed, 15 Sep 1999 08:38:17 -0500 (EST)
Hi Tony,
>>>>> "Tony" == Tony McDonald <tony.mcdonald@ncl.ac.uk> writes:
deletia...
Tony> Apart from your RewriteRule ^/sample/(.*) /$1 line, they
Tony> appear to do the same thing. I don't *believe* the blank
Tony> line before the RewriteCond line is important.
but that's the key rewrite! The problem is that Zope is 'adding'
stuff to the front of the URL with it's BASE tag. This rewrite
just strips that off so that you don't get that mess.
Tony> As you can see this virtual host is pointed into a subfolder of the
Tony> main Zope site (dnle to be specific).
Tony> The problem is that once the manager logs into that site they get the
Tony> following on the right hand screen (after some traversing in their
Tony> 'neck of the woods')
Tony> Folder at /nle / dnle / nle / dnle / nle / dnle / nle / dnle
Yes... that's the mess you get. If you put in a rewrite like:
RewriteRule ^/nle/dnle(.*) /$1
then you won't get all that. You will *see* /nle/dnle/blah/blah in your
URLs (if you have them displayed) but the web server will strip
them before forwarding your request to Zope.
-steve