[Zope] Problem with SiteAccess

Leonardo Graf graf@imrt.mavt.ethz.ch
Wed, 03 Jan 2001 16:13:15 +0100


Hello,

I'm trying to use the SiteAccess Product as discribed in the HowTo: Using 
Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as 
described.

My ZServer is listening on www.myserver.com:9080/somesite. I would like to 
be able to access the ZServer through apache via the URL www.somesite.com 
(to do virtual hosting).

The ProxyPass directives work well (the pages get served properly), but the 
URL's in my pages still contain the complete URL's of the ZServer, like 
<img src="http://www.myserver.com:9080/somesite/images/some.gif"> instead 
of <img src="http://www.somesite.com/images/some.gif">. The same is true 
for normal links. Ok, it's not so bad, things work (no broken links), but 
it is a little bit ugly. I thought the SiteAccess Product should handle 
these problems, by putting a SiteRoot object in the somesite folder.

Or do I have to write an AccessRule ? And how would that look like ?

Thanks a lot, regards, Leonardo Graf