[Zope] what defines the absolute_url() prefix?
Oleg Broytmann
phd@phd.russ.ru
Thu, 9 Mar 2000 09:39:39 +0000 (GMT)
On Thu, 9 Mar 2000, Daryl Tester wrote:
> I can access the folder with the URL
> http://localhost/cws/Help (and the logfile shows "GET /cws/Help"), but
> the absolute_url() method on cws.Help is actually returning
> "http://localhost/cws/cws/Help" (which is also accessible - kinda odd,
> but not what I want).
You can even access
http://localhost/cws/cws/cws/cws/cws/cws/Help :)
It is aquisition's drawback...
> I kinda suspect I've screwed the mod_pcgi2 config, mainly because its
> the area I'm the most confused about :-) I have the following config
> in Apache:
>
> <Location /zope>
> SetHandler pcgi-handler
> PCGI_ROOT /
> PCGI_SetEnv SiteRootPATH /
> </Location>
Looks good.
> <Location /cws>
> SetHandler pcgi-handler
> PCGI_ROOT /cws
> PCGI_SetEnv SiteRootPATH /cws
> </Location>
Try "PCGI_SetEnv SiteRootPATH /" here too...
Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.