httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: Passing a cgi scrip using mod_proxy to Server behind Firewall
Date Wed, 07 Aug 2002 08:48:55 GMT
>From: Abramow, Michael [JJPAU] [mailto:MABRAMOW@JJPAU.JNJ.COM]

> am using an Apache 1.3.23 server on Solaris 2.8 as a reverse 
>proxy with mod_proxy.
>
>But the problem lies in passing a cgi script to say
>http://foo.com/cgi-bin/abc?def+ghi+jki
>
>trying
>
>   ProxyPass         /test/ http://foo.com/cgi-bin/
>   ProxyPassReverse  /test/ http://foo.com/cgi-bin/
>
>Thus trying http://wibble.org/test/abc?def+ghi+jki getting 
>passed via proxy
>to http://foo.com/cgi-bin/abc?def+ghi+jki
>get a browser error on failing on :
>
>The proxy server received an invalid response from an upstream server.
>The proxy server could not handle the request GET /test/abc
>Reason: Could not connect to remote machine: Connection timed out

I'm not sure that this is a Proxy problem... It looks like your CGI got stuck and never returned
anything. Start at the other end of the stream:

- on the foo.com server, does the CGi execute from the command line?
- does it produce a valid CGI header?
- does it work in a browser connected directly (not via proxy) to foo.com?
- when you hit it via the proxy, what do you see in the access and error log in foo.com?

Rgds,

Owen Boyle

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message