ymfm
05-20-2004, 09:33 PM
Suddenly all the custom CGI of the server are returning on 500 Internal Server Error.
All the cgi from cpanel are still fine.
Any idea?
Thanks
All the cgi from cpanel are still fine.
Any idea?
Thanks
![]() | View Full Version : 500 Internal Server Error on all custom CGI on the server ymfm 05-20-2004, 09:33 PM Suddenly all the custom CGI of the server are returning on 500 Internal Server Error. All the cgi from cpanel are still fine. Any idea? Thanks SPaReK 05-20-2004, 10:46 PM Make sure they are chmod to 755 and (if suexec is enabled) all the directory structure leading to there path is set to 755. Also make sure the CGI scripts are uploaded in ASCII transfer mode. You may need to consult the errorlog for more information, or the suexec log if suexec is enabled on your server (I'm assuming it is). ymfm 05-20-2004, 10:57 PM All the CGIs are old scripts that were in use in the server for months. After some security changes it stoped running. This changes were made by a company that is out of bussiness today. gate2vn 05-21-2004, 02:41 AM you may want to check the owner of scripts. using chown command for fixing it if it's wrong. jstanden 05-21-2004, 11:56 PM Also check to see if an .htaccess file exists in the directories. Depending on your Apache setup, there are a few directives you can add to .htaccess that will cause a 500 error. If the file exists, try temporarily renaming it and seeing if the error goes away. If so, a little troubleshooting should find the offending section(s). Thanks! sprintserve 05-22-2004, 01:45 AM Originally posted by ymfm After some security changes it stoped running. This changes were made by a company that is out of bussiness today. What security changes were they? Roll it back. It could also be mod_security ot one of those modules added. Try disabling that module and see if that's the cause of your problems. If you want I can take a quick look for you. |