RE: [Zope] How can I proxy from apache to zope and keep source host info?
Marcin and Phil, I also found info on a patch that would pass this information in the HTTP_Via header. I incorporated it into my Apache+ZServer+SSL HOWTO: http://www.zope.org/Members/unfo/apache_zserver_ssl Good luck, T.J. -Original Message- From: Marcin Kasperski [EMAIL PROTECTED] Sent: Monday, July 31, 2000 4:03 AM To: "[EMAIL PROTECTED]" Subject: Re: [Zope] How can I proxy from apache to zope and keep source host info? Phil Harris wrote: 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. Does anyone has this module compiled for apache 1.3 handy (I mean mod_add_proxy.so file)? I use binary Debian apache distribution and it will take some time to download and rebuild apache from sources... www.mk.maxi.pl | Teams do not make linear progress through analysis. Marcin.Kasperski | They don't start with requirement 1 and analyze it, @softax.com.pl | then move to requirement 2 and analyze it. (...) @bigfoot.com | Analysis tends to be revolutionary. (Martin) ___ 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/zopeannounce http://lists.zope.org/mailman/listinfo/zopedev ) ___ 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 )
Re: [Zope] How can I proxy from apache to zope and keep source host info?
Phil Harris wrote: 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. Does anyone has this module compiled for apache 1.3 handy (I mean mod_add_proxy.so file)? I use binary Debian apache distribution and it will take some time to download and rebuild apache from sources... -- www.mk.maxi.pl | Teams do not make linear progress through analysis. Marcin.Kasperski | They don't start with requirement 1 and analyze it, @softax.com.pl | then move to requirement 2 and analyze it. (...) @bigfoot.com | Analysis tends to be revolutionary. (Martin) ___ 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 )
Re: [Zope] How can I proxy from apache to zope and keep source host info?
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 [EMAIL PROTECTED] - Original Message - From: "Marcin Kasperski" [EMAIL PROTECTED] To: "Zope List Submission" [EMAIL PROTECTED] 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 - [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 )