Setting absolute URL context for mod_pcgi served folders
I may have things set up inefficiently, feel free to correct me. o. I have Zope running through mod_pcgi. o. In my Zope "Root Folder", there is an 'extranet' and 'intranet' folder, as you can guess, they contain our intranet, and an extranet served up with LocalFS. o. I serve up the extranet just fine, since Apache doesn't really know that Zope is there (we just use Zope to allow for remote editing of content) o. The Intranet's URLs, however get 'intranet/' prepended to them, since they are in the intranet folder of the Root. How would I fix this, and is it a mod_pcgi issue or a Zope issue? The relevent pcgi conf information is: SetHandler pcgi-handler PCGI_ROOT intranet PCGI_SetEnv SiteRootPATH / -- Adam Haberlach | Who buys an eight-processor machine and then adam@newsnipple.com | watches 30 movies on it all at the same time? http://newsnipple.com | Beats me. They told us they could sell it, so | we made it. -- George Hoffman, Be Engineer
On Mon, Jan 28, 2002 at 05:45:36PM -0800, Adam Haberlach wrote:
o. The Intranet's URLs, however get 'intranet/' prepended to them, since they are in the intranet folder of the Root.
How would I fix this, and is it a mod_pcgi issue or a Zope issue?
It is not mod_pcgi2 issue, but rather an issue with virtual hosting.
The relevent pcgi conf information is:
SetHandler pcgi-handler PCGI_ROOT intranet PCGI_SetEnv SiteRootPATH /
Do you want to serve the "intranet" as a separate virtual host? Other than that I do not see how you can remove "intranet" prefix. Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Adam Haberlach -
Oleg Broytmann