RE: Unable to run cgi script

2002-11-11 Thread Kelvin McWha
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

RE: Unable to run cgi script

2002-11-11 Thread Kelvin McWha
So I have tried the method below ie and the server was unable to find the file? I have tried commenting out the other alias which was pointing somewhere else for the cgi-bin I have removed the file associations with each pl/cgi file this then brings up the open with dialog box So my guess is s

RE: Unable to run cgi script

2002-11-11 Thread Scot Robnett
I don't think that's it; with the ScriptAlias set it should call the script through a relative or full path as easily as it does via that full HTTP call. I'm curious what the document root is...if it is /home/kelvin, then technically you *should* just be able to write it as . Or, if you want to try

RE: Unable to run cgi script

2002-11-11 Thread Kelvin McWha
Thanks David that seems to have taken me a step further. Running the html script now comes up with the error Not Found The requested URL /home/Kelvin/cgi-bin/myscript.cgi was not found on this server The browser is pointing to http://localhost/home/kelvin/cgi-bin/myscript.cgi I have tried it with

Re: Convert IP address

2002-11-11 Thread WilliamGunther
In a message dated 11/11/2002 9:16:10 AM Eastern Standard Time, [EMAIL PROTECTED] writes: > was wondering if there is a module or someone may know of a quick means of > convering a IP address to a host/domain address. $ip = $ENV{'REMOTE_ADDR'}; @digits = split (/\./, $ip); $address = pack ("C4

Convert IP address

2002-11-11 Thread Mike(mickako)Blezien
Hello, was wondering if there is a module or someone may know of a quick means of convering a IP address to a host/domain address. this is a snip of code we use to use, but I don't think it works very well any more: # Covert Host IP Address to domain name IE: [somedomain.com] $ip = remote_addr

Re: Unable to run cgi script

2002-11-11 Thread David T-G
Kelvin -- ...and then Kelvin McWha said... % ... % I *think* you have to qualify this, as action="http://localhost/home/kelvin/cgi-bin/myscript.cgi";> Certainly worth a try... HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED

RE: Unable to run cgi script

2002-11-11 Thread Kelvin McWha
mmm. to be honest Robert I picked this script up on the web and I have used it as an example to show that my system will not run cgi scripts, it also does not show any errors but opens them for editing instead. I don't think I'm anywhere near looking at cgi.pm yet I am simply trying to teach myself

Unable to run cgi script

2002-11-11 Thread Kelvin McWha
I am trying to set my system up as a Webserver for testing purposes System is SuSe 8.1 stand-a-lone Apache 1.3 Have got Apache running OK and tested it in standalone mode using http://localhost which shows the appropriate test page I have configured httpd.config to point to my directories as foll