David

Still no joy, the script now just hangs as if searching for about 10
secs

I have tried the following shell script which gives for the most part no
result. I wander whether this has any bearing or points anyone in the
right direction

#!/bin/sh
# disable filename globbing
set -f
echo Content-type: text/plain
echo
echo CGI/1.0 test script report:
echo
echo argc is $#. argv is "$*".
echo
echo SERVER_SOFTWARE = $SERVER_SOFTWARE
echo SERVER_NAME = $SERVER_NAME
echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
echo SERVER_PROTOCOL = $SERVER_PROTOCOL
echo SERVER_PORT = $SERVER_PORT
echo REQUEST_METHOD = $REQUEST_METHOD
echo HTTP_ACCEPT = "$HTTP_ACCEPT"
echo PATH_INFO = "$PATH_INFO"
echo PATH_TRANSLATED = "$PATH_TRANSLATED"
echo SCRIPT_NAME = "$SCRIPT_NAME"
echo QUERY_STRING = "$QUERY_STRING"
echo REMOTE_HOST = $REMOTE_HOST
echo REMOTE_ADDR = $REMOTE_ADDR
echo REMOTE_USER = $REMOTE_USER
echo AUTH_TYPE = $AUTH_TYPE
echo CONTENT_TYPE = $CONTENT_TYPE
echo CONTENT_LENGTH = $CONTENT_LENGTH
echo "Perl="`which perl`


-----results in


Content-type: text/plain

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 =
Perl=/usr/bin/perl

> -----Original Message-----
> From: David Kirol [mailto:d.kirol@;attbi.com]
> Sent: 11 November 2002 20:32
> To: Kelvin McWha
> Subject: RE: Unable to run cgi script
> 
> Kevin,
>       the below is from your attachment - 2 modifications indicated by
> +++++
> # my changes
> #
>     ScriptAlias /cgi-bin/��/home/kelvin/cgi-bin/
> #********************************
> #********************************
> 
> #  </IfModule> ++++++++++++++++++++++++++++++++++++++you are closing
this
> below, remove it here
>     #
>     # "/srv/www/cgi-bin" should be changed to whatever your
ScriptAliased
>     # CGI directory exists, if you have that configured.
>     #
>     <Directory "/home/kelvin/cgi-bin">
>         AllowOverride None
>         Options ExecCGI
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ADD THIS HERE
>         Order allow,deny
>         Allow from all
>     </Directory>
> 
> </IfModule>
> 
> 
> Let me know how you make out. Are you doing much with PHP?
> David




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to