cgi scripts not working - getting 404 page not found error

ok, as you know,

if a perl script is written incorrectly, the error that your browser should show is: Internal Server Error.

So, if you are getting a 404 page not found error on a perl / cgi script…

the problem is going to be one of the following:

1. wrong permissions on the file - cgi scripts must be chmod 755

2. cgi not checked in modify account in WHM

3. httpd.conf virtual host entry may be missing the ScriptAlias entry for cgi-bin - so the server would be trying to use the system cgi-bin instead of the one in the account’s public_html directory.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word