Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2003
    Posts
    105

    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

  2. #2
    Join Date
    Apr 2002
    Posts
    930
    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).

  3. #3
    Join Date
    Feb 2003
    Posts
    105
    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.

  4. #4
    Join Date
    Oct 2003
    Location
    Hanoi
    Posts
    4,306
    you may want to check the owner of scripts. using chown command for fixing it if it's wrong.

  5. #5
    Join Date
    Aug 2001
    Location
    Orange County, CA
    Posts
    532
    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, Chief of R&D, WebGroup Media LLC. - LinkedIn
    Cerb is a fast and flexible web-based platform for business collaboration and automation. http://www.cerbweb.com/

  6. #6
    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.
    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 |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •