On Sun, 2003-02-23 at 17:00, Josh Roden wrote: > I receive the following in the browser window when I tried to submit an > excercise thru our site at hadassah: > > Internal Server Error > The server encountered an internal error or misconfiguration and was > unable to complete your request. > Please contact the server administrator, [EMAIL PROTECTED] 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. > > Apache/1.3.22 Server at tux.cs.hadassah-col.ac.il Port 80 > > In /etc/httpd/logs/error_log I get: > [error] CGI open of tmpfile: Permission denied > > I anybody has any suggestions I would like to hear them.
Your CGI script is trying to open a file (named "tmpfile") and it does not have permission to do so. This is most likely because the Apache server runs (as it should be) as the user "nobody" that has no write permissions anywhere on the system for security reasons. There are many ways to "solve" this situation, most of them (like changing the user the Apache server runs as or giving "nobody" blind permissions to write anywhere in the CGI directory) are wrong. I think you need to get a good book on CGI scripts. Cheers, Gilad. -- Gilad Ben-Yossef <[EMAIL PROTECTED]> http://benyossef.com " [EMAIL PROTECTED] root]# grep processors /var/log/dmesg Total of 64 processors activated (76359.40 BogoMIPS). " ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
