|Keep It Simple, Stupid|
Re: cgi works locally, but not on web serverby bibo (Pilgrim)
|on Jun 17, 2004 at 03:30 UTC||Need Help??|
I see by this being your third post that you really really really want this to work. OK, I applaud your tenacity.
First, I don't see a complete HTML document here, no headers, etc. Did you edit that out, or are you really using perl to print just the form and not the whole html?
Have you tried just a "hello.cgi" thing to make sure that Apache2 is running the script at all? (although your output would indicate it is doing so)
Next, can your "hello.cgi" script just open and print a line from a textfile in the same subdir as your db files? This would tell us if somehow Apache2 is preventing you from accessing the files there.
Here is an example, adjust as needed and put in your same CGI subdir:
When I ran it here, I got output like this:
Let us know if this works or not, or what your tests tell you...