[Zope] REMOTE_ADDR

Oleg Broytmann Oleg Broytmann <phd@mail2.phd.pp.ru>
Thu, 25 Jan 2001 21:20:18 +0300 (MSK)


Hi!

   This [P] suggests that you use mod_proxy. >--------------\
                                                            |
   As I already said, mod_proxy can't pass environment. >---+--\
                                                            |  |
On Thu, 25 Jan 2001, Marcus Mendes wrote:                   |  |
>    RewriteRule ^/(.*) http://myserver:8080/marcus/$1 [P]<-/  |
>                                                              |
> I'm using Zope.cgi with SiteAccess                           |
> In the SiteAcess, I have -> base: http://myserver:8080       |
> and URL : /marcus                                            |
>                                                              |
> How can I pass to my ZServer the REMOTE_ADDR's content?      |
>                                                              |
> -------------------------------------------------------------+------------
> Oleg Wrote:                                                  |
>                                                              V
>   Which way do you connect Apache to Zope? Mod_pcgi? mod_fastcgi?
> mod_proxy? I am afraid if you use mod_proxy - you cannot obtain remote
> address. Or may be there is a way to pass it explicitly to Zope.
>   Other modules (FCGI/PCGI) should pass all neccessary information
> (actually, the entire request environment) by default.

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.