Re: Rob: CGI Question
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 22, 2003
- 501 views
C. K. Lester wrote: > In my httpd-error.conf file, I'm getting "Can't create error log ex.err" > (or somesuch message). Where would exu try to create that? > > Okay, here's the exact message: > > [Tue Oct 21 22:24:59 2003] [error] [client 127.0.0.1] Premature end of > script headers: test.esp > [Tue Oct 21 22:24:59 2003] [error] [client 127.0.0.1] Can't create error > message file: ex.err "Can't create ..." is an error that exu issues when it tries to open ex.err for writing, but fails. Check to see if there is already an ex.err file (in cgi-bin ?) that does not have write permissions set correctly. I've occasionally run into the situation where the process that runs my CGI program fails to create an ex.err because there is already one there that belongs to me (i.e. a different user id). The solution is just to delete that ex.err (or chmod +w ex.err) and try the CGI program again. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com