httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack" <>
Subject [users@httpd] Re: Empty data stream to stdin of CGI when coming through gateway, but local subnet feeds OK
Date Sat, 10 May 2003 22:32:57 GMT
Second thoughts...

OK, so I checked my webcode, and the forms are POSTing - so QUERY_STRING
*should* be null - doh! Seems that seeing the data in QUERY_STRING is  a

Anyway, my CGI code still isn't seeing anything from stdin when the query
comes through SyGate from the outside (although the query itself is seen,
otherwise I wouldn't see the resultant traffic files that the CGI code puts
out for the database to process), not would the browser dutifully report
that the database saw no data (that's the answer sent back by the database,
which is shuttled back to the browser connection by the CGI code).

So, it's a network definition thing in Apache that's got me...

192.168.0.x send the data through stdin to the CGI code, anywhere else (via
SyGate) gives a null data feed to the CGI code...

<sigh> Ideas, people?

Thanks -

Jack R. Lewis

----- Original Message ----- 
From: "Jack" <>
To: <>
Sent: Friday, May 09, 2003 7:51 PM
Subject: Empty QUERY_STRING through gateway, but not local subnet

> I am attempting to transfer my Web site from an old NT-based HTTP server
> Apache2 as delivered with Mandrake-Linux 9.1 (apache2-2.0.44-11mdk et al).
> The gateway involved is SyGate 4.0, sitting on the same NT server as the
> Web server ( I've set up a parallel Web server on the Linux
> machine (, and when operating on my own subnet (192.168.0/24),
> my CGI scripts see all the GET data in QUERY_STRING, as they are supposed
> to. However, when coming through the gateway from outside my network, the
> QUERY_STRING variable is given to the CGI script as "" (null).
> Is there something about allowing "http://.../cgi-bin/xxxx?x=x&x=x&x=x"
> from any address (as opposed to my subnet) that I'm missing?
> Thanks -
> Jack R. Lewis

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message