Yes, but you have to do in it a round about way.
(Actually, I've seen mention of a patch to Apache that 
does this, but I don't think it's neccessary)

Here's the setup I'm using:
RewriteEngine On
RewriteRule ^/Zope(.*)   http://localhost:8080/$1?client_ip=%{REMOTE_ADDR}
[QSA,L,P]
RewriteRule ^/p_/(.*)    http://localhost:8080/p_/$1 [L,P]
RewriteRule ^/misc_/(.*) http://localhost:8080/misc_/$1 [L,P]

In this case, REMOTE_ADDR will be available in the 
REQUEST namespace under "client_ip"

HTH

> -----Original Message-----
> From: Aaron Straup Cope [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 5:47 AM
> To:   [EMAIL PROTECTED]
> Subject:      [Zope] Zope & Apache/ProxyPass : environment variables
> 
> Hi,
> 
> Does anyone know if it is even *possible* to pass environment variables
> (specifically REMOTE_USER) to Zope when it is set up behind
> Apache/ProxyPass.
> 
> I've looked around the list archives, and the Apache docs and tried a
> bunch of different configs but nothing works. I'm starting to wonder if
> it's all in vain.
> 
> Thanks,
> 
> 
> 
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to