PDA

View Full Version : cgi script and 404 error


Kenny
01-24-1999, 05:46 AM
Hi there!

I have a cgi script that uses parameters that contain a "/" somewhere after filename.cgi
and the server says it cannot find this directory and gave me a 404 error.

for example /cgi-bin/filename.cgi/1::::r:t

I have used this script on other servers (my previous web host) and on my own Linux/Apache machine without any problems before. I suspect the culprit is due to the 404.html mapping.

Is there anyway to use my script without any major modification to my script? I would really hate to rewrite the script.

The page where the script is called is at
http://xpredawnia.futurequest.net/pchat/pchat.php3
or
http://www.predawnia.org/pchat/pchat.php3

TIA,
Kenny

Terra
01-24-1999, 08:41 AM
I made an adjustment in the server to handle this style...

Please test it again...

--
Terra
--Ah Grasshopper, follow the path for the info you seek--
FutureQuest

Kenny
01-24-1999, 11:04 AM
I have just tried it, but still get the 404 file not found error http://www.aota.net/ubb/frown.gif

URL is http://xpredawnia.futurequest.net/pchat/pchat.php3

TIA,
Kenny Lim

Terra
01-25-1999, 12:01 AM
It would be nice if I had rehashed the Apache Daemon after making my adjustments...

*sigh*

I just verified that URL and it's working now...

--
Terra
--Zagged when I shoulda Zigged--
FutureQuest