[Zope3-Users] Re: How to determine server URL without request

Laurence Rowe l at lrowe.co.uk
Tue Apr 24 13:02:08 EDT 2007


Chris Withers wrote:
> Alek Kowalczyk wrote:
>> How to determine my web server URL without having any request around?
> 
> Well, I'm afraid you will need to set the server url as a constant 
> somewhere...
> 
> cheers,
> 
> Chris
> 

This is because the URL of the server is dependent on the particular 
request (virtual hosting urls).

Laurence



More information about the Zope3-users mailing list