I am running Apache (1.3.?) on a Linux system. I have been having problems
running the "test.cgi" that comes with Apache. Although I can run other cgi
scripts.
The problem is that environment varibales such as $QUERY_STRING do not get
passed from webpages to cgi scripts.
When I call "test.cgi" from a form within a web page this is
the output:
CGI/1.0 test script report:
argc is 0. argv is .
SERVER_SOFTWARE =
SERVER_NAME =
GATEWAY_INTERFACE =
SERVER_PROTOCOL =
SERVER_PORT =
REQUEST_METHOD =
HTTP_ACCEPT =
PATH_INFO =
PATH_TRANSLATED =
SCRIPT_NAME =
QUERY_STRING =
REMOTE_HOST =
REMOTE_ADDR =
REMOTE_USER =
AUTH_TYPE =
CONTENT_TYPE =
CONTENT_LENGTH =
If I run the same webpage and "test.cgi" on my school's server the output
WILL show the values of the above variables. Apparently cgi scripts on my
server are not reading the above variables.
What do I have to do so that variables such as $QUERY_STRING get passed to
scripts ?
-------------------------------------------------------------
of Web Address: http://et.trimmer.org
et.trimmer.org
-------------------------------------------------------------