o Make sure that it works as the user the web server runs under.
Often a script will work when run under your personal UID or
as root, but will fail as the web user. (Perms, etc.)
o Look at the error_log file. It will have a lot more info about
what went wrong. Any output to stderr during the run of the CGI
script will be logged there.
o Don't forget to send the HTTP Content-type headers back. e.g.
print "Content-type: text/html\n\n";
o Always remember that a "bug" is possible. ;)
-Steve
On Wed, May 27, 1998 at 05:55:31PM +0000, ansaldo wrote:
> I have a problem with executing cgi-program on my web server (wish come
> with Red Hat Linux release 4.2), i've tried many simple perl program (that
> it run in Linux shell and in other simular Linux web server !)
> and the mod of file is also ok ! +x !
> i've tried to modify config file (httpd.conf access.conf) without success !
> i don't know where's a problem !
> and i don't think that's a bug ! (is it possible ?)
> so please help me ; and thanks in adavance
> the error message that i receive is that :
> Server Error
>
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
--
______________________________________________________________________________
Steve Shah (sshah@cs.ucr.edu) | SysAdmin/Coder/Gabbernaut/DJ/Writer/Minister
http://www.cs.ucr.edu/~sshah | We're not dropping out, we're infiltrating.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Life is best measured in beats per minute. How alive are you?"
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu