There is a patch to Apache that you could apply that passes the client IP along in a different HTTP header, if that helps. It's at http://modules.apache.org/search?id=124. On the other hand you could use Squid as the Proxy as it has a config directive for just this occasion. HTH Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Marcin Kasperski" <Marcin.Kasperski@softax.com.pl> To: "Zope List Submission" <zope@zope.org> Sent: Wednesday, July 26, 2000 8:26 AM Subject: [Zope] How can I proxy from apache to zope and keep source host info?
I configure 'apache as frontent do zope'. Most things work as expected but I found serious limitation: if I pass request from apache to zope via mod_proxy (or mod_rewrite [P]), zope sees all requests as coming from localhost (I specified http://localhost:8080/ as zope address, in case I specify http://my.host:8080 I would get my.host as source address - the problem would be the same).
Does there exist any solution to this problem different than using zope.cgi?
-- Marcin.Kasperski | Communication takes place between people, documents @softax.com.pl | are secondary. (Booch,Martin,Newkirk) Marcin.Kasperski | @bigfoot.com |
_______________________________________________ Zope maillist - Zope@zope.org 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 )