[Zope] Problem with alternate path and request
fmartins at hetnet.nl
Sun Oct 19 19:00:25 EDT 2003
Ugh, I've just cross-posted to zope-dev and zpt because I didn't had a
> Fernando Martins wrote at 2003-10-14 21:44 +0200:
> > I'm using VHM and I need the (real) remote IP, as given by
> > HTTP_X_FORWARDED_FOR. However, when accessing the page without any
> > virtualization, I need to fall back on REMOTE_ADDR.
> > Now, any idea why the following
> > <p tal:content="request/HTTP_X_FORWARDED_FOR |
> > doesn't work as expected: HTTP_X_FORWARDED_FOR returns an empty string
> > rather than failling in favor of REMOTE_ADDR.
> This means that something defined "HTTP_X_FORWARDED_FOR" even
> when you did not use virtualisation.
> You know, that you can view the request with
> '<p tal:content="structure request">'?
Yes, and I think it's a bug because it doesn't appear in the request.
More information about the Zope