On 12:45 28 May 2003, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
| Now it is :
| 
| [EMAIL PROTECTED] cgi-bin]$ ls -l
| total 8
| -rwxr-xr-x    1 edward   edward       3650 May 26 12:34 textclock.cgi
| -rw-r--r--    1 edward   edward        123 May 26 02:40 WS_FTP.LOG
| [EMAIL PROTECTED] cgi-bin]$
| 
| But also ( Browser ) :
| 
| Internal Server Error
| The server encountered an internal error or misconfiguration and was unable to
| complete your request.
| Please contact the server administrator, [no address given] and inform them of the
| time the error occurred, and anything you might have done that may have caused the
| error.
| 
| More information about this error may be available in the server error log.
| 
| log file :
| 
| [Wed May 28 12:58:47 2003] [error] (13)Permission denied: exec of
| /home/edward/public_html/house/cgi-bin/textclock.cgi failed
| [Wed May 28 12:58:47 2003] [error] [client 202.175.40.6] Premature end of script
| headers: /home/edward/public_html/house/cgi-bin/textclock.cgi
| 
| How can I to fix this problem ?

Peter Kiem's Windows->UNIX idea is promising.
If it doesn't pan out, can you post the CGI script?
Also, what happens when you run the script by hand:

        ....../textclock.cgi </dev/null

It is important that the CGI emits good MIME headers too (this is the
essense of the "Premature end of script headers" stuff - of course script
which aborts produces no headers too).

Oh yes - do other CGIs work for you?

Also, RedHat ships an suexec-enabled web server.  This means that the
core error message is often in the "suexec" error log, not the main web
error log. It should be in the same directory as the usual web logs.

Cheers,
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

slander.  slander i say.  the kotl is a man of integrity.  once bought,
always bought.  - Keith Schauer, CB900 Custom, DoD #0901


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to