Results 1 to 6 of 6
-
05-20-2004, 09:33 PM #1WHT Addict
- Join Date
- Feb 2003
- Posts
- 110
500 Internal Server Error on all custom CGI on the server
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
-
05-20-2004, 10:46 PM #2Web Hosting Master
- Join Date
- Apr 2002
- Posts
- 1,789
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).
-
05-20-2004, 10:57 PM #3WHT Addict
- Join Date
- Feb 2003
- Posts
- 110
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.
-
05-21-2004, 02:41 AM #4Temporarily Suspended
- Join Date
- Oct 2003
- Location
- Hanoi
- Posts
- 4,309
you may want to check the owner of scripts. using chown command for fixing it if it's wrong.
-
05-21-2004, 11:56 PM #5Web Hosting Evangelist
- Join Date
- Aug 2001
- Location
- Brea, CA
- Posts
- 541
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!Jeff Standen, Software Architect, Cerb
Cerb - web-based teamwork and workflow automation - https://cerb.ai/
-
05-22-2004, 01:45 AM #6Retired Moderator
- Join Date
- Jan 2003
- Posts
- 9,049
Originally posted by ymfm
After some security changes it stoped running.
This changes were made by a company that is out of bussiness today.
If you want I can take a quick look for you.••• Like us on Facebook to qualify for discounts! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••