Re: HTTP proxy working for folks on 2.1-dev?

2004-09-09 Thread Mladen Turk
Jeff Trawick wrote: On Fri, 3 Sep 2004 12:30:34 -0400, Jeff Trawick [EMAIL PROTECTED] wrote: 192.168.1.11 - - [03/Sep/2004:12:05:59 -0400] GET http://127.0.0.1:10101/cgi-bin/printenv HTTP/1.0 404 236 error log has: [Fri Sep 03 12:05:59 2004] [error] [client 127.0.0.1] File does not exist:

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-09 Thread Jeff Trawick
On Thu, 09 Sep 2004 12:52:53 +0200, Mladen Turk [EMAIL PROTECTED] wrote: Jeff Trawick wrote: On Fri, 3 Sep 2004 12:30:34 -0400, Jeff Trawick [EMAIL PROTECTED] wrote: 192.168.1.11 - - [03/Sep/2004:12:05:59 -0400] GET http://127.0.0.1:10101/cgi-bin/printenv HTTP/1.0 404 236 error log

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-09 Thread Nick Kew
On Thu, 9 Sep 2004, Mladen Turk wrote: Q: Is it possible to have forward and reverse proxies mixed together on the same box? Of course! I have that defined in different virtual hosts, but AFIACS it should also work fine simply using Location for the reverse proxies and Proxy for the forward.

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-09 Thread Mladen Turk
Jeff Trawick wrote: Just committed the needed changes to allow forward proxies. I saw... definitely gets farther now... This shows how far it gets when I configure mozilla to use Apache as HTTP proxy: [Thu Sep 09 06:53:17 2004] [crit] [Thu Sep 09 06:53:17 2004] file http_protocol.c, line 981,

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Mladen Turk
Jeff Trawick wrote: [Fri Sep 03 12:05:59 2004] [error] [client 127.0.0.1] File does not exist: proxy:http://127.0.0.1:10101/cgi-bin/printenv If nobody can/has reproduced the problem, I'll dig into it this weekend. I had time dig into it enough to get the feeling that it is something that the

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Jeff Trawick
On Wed, 08 Sep 2004 08:39:43 +0200, Mladen Turk [EMAIL PROTECTED] wrote: If the balancer is not found (the uri doesn't start with proxy:balancer://) then the each particular scheme handler is called. Scheme handlers aren't getting called since ap_proxy_pre_request() returns something other than

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Mladen Turk
Jeff Trawick wrote: What is the config that you are using. Does you requests get passed with previous version of proxy. If they do, please post the config so we can find why is it breaking. This is a very basic proxy config: proxyrequests on proxyvia on allowconnect 8081 80 8080 OK. From that

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Graham Leggett
Mladen Turk wrote: This is a very basic proxy config: proxyrequests on proxyvia on allowconnect 8081 80 8080 OK. From that config what would be remotes that we could connect to? Dynamically obtained from Via header or...? Seems to me that the balancer is totally unusable in such a configuration.

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Mladen Turk
Graham Leggett wrote: proxyrequests on proxyvia on allowconnect 8081 80 8080 OK. From that config what would be remotes that we could connect to? Dynamically obtained from Via header or...? Seems to me that the balancer is totally unusable in such a configuration. Keep in mind proxyrequests on

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Graham Leggett
Mladen Turk wrote: OK, but still what are the remotes to connect to? If they are dynamically determined then I'll need to fix the way the workers are determined. Right now each physical box we can connect to has to be at least once specified in the config. The question is: Is it OK to resolve that

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Jeff Trawick
On Wed, 08 Sep 2004 17:49:56 +0200, Mladen Turk [EMAIL PROTECTED] wrote: Can you explain some real world usage of such configuration. Configure your web browser to use Apache as an HTTP proxy. P.S. Seems I've missed a day in school when they talk about ProxyVia headers :). Forget about

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Mladen Turk
Jeff Trawick wrote: Can you explain some real world usage of such configuration. Configure your web browser to use Apache as an HTTP proxy. This is a forward proxy? Are you speaking about that? If do, then the current implementation might be bogus, cause frankly speaking didn't test that a lot,

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Graham Leggett
Mladen Turk wrote: This is a forward proxy? Are you speaking about that? If do, then the current implementation might be bogus, cause frankly speaking didn't test that a lot, but was planning to do so. Or I've missed the subject again :). Proxyrequest on turns httpd into a forward proxy, yes.

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-08 Thread Mladen Turk
Graham Leggett wrote: Mladen Turk wrote: This is a forward proxy? Are you speaking about that? If do, then the current implementation might be bogus, cause frankly speaking didn't test that a lot, but was planning to do so. Or I've missed the subject again :). Proxyrequest on turns httpd into a

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-07 Thread Jeff Trawick
On Fri, 3 Sep 2004 12:30:34 -0400, Jeff Trawick [EMAIL PROTECTED] wrote: On Fri, 03 Sep 2004 09:23:27 -0700, Justin Erenkrantz [EMAIL PROTECTED] wrote: --On Friday, September 3, 2004 12:14 PM -0400 Jeff Trawick [EMAIL PROTECTED] wrote: I'm using head, with a spelling fix to

HTTP proxy working for folks on 2.1-dev?

2004-09-03 Thread Jeff Trawick
I'm using head, with a spelling fix to mod_proxy comment (probably the cause of the breakage) and a tweak to allow proxy connect to bypass the balancer, and this silly testcase isn't working: 192.168.1.11 - - [03/Sep/2004:12:05:59 -0400] GET http://127.0.0.1:10101/cgi-bin/printenv HTTP/1.0 404

Re: HTTP proxy working for folks on 2.1-dev?

2004-09-03 Thread Justin Erenkrantz
--On Friday, September 3, 2004 12:14 PM -0400 Jeff Trawick [EMAIL PROTECTED] wrote: I'm using head, with a spelling fix to mod_proxy comment (probably the cause of the breakage) and a tweak to allow proxy connect to bypass the balancer, and this silly testcase isn't working: 192.168.1.11 - -