[Zope3-Users] How to get at the URL as entered in the browser?

Frank Burkhardt fbo2 at gmx.net
Fri Oct 26 03:12:46 EDT 2007


Hi,

On Thu, Oct 25, 2007 at 08:51:41AM +0800, Yuan HOng wrote:
> On 10/24/07, Frank Burkhardt <fbo2 at gmx.net> wrote:
> 
> >
> > The web server never gets the URL which as typed by the user. At least
> > the protocol (http vs. https),  is lost. This is what you can do:
> >
> >  url='http://' + request['HTTP_HOST'] + request['REQUEST_URI']
> >
> 
> Does this work for Zope3? I use zopeproject, and starting the server with

I don't know what zopeproject does but I use Zope3 (exclusively).

Regards,

Frank


More information about the Zope3-users mailing list