What file permissions do I need for my CGI scripts?

CGI scripts must be set with executable file permissions, or requests for the script from the web server will result in an Internal Server Error.

Scripts that need to be executable should have their permission set with chmod 755. This sets the file's permissions so that the file's owner may read, write, and execute the file; and anyone else can only read and execute it

Was this answer helpful?

 Print this Article

Also Read

CGI-BIN and Perl scripts not working on my domain ?

There are lot of reasons for not working of cgi and perl scripts. You can do small test on your...

Which script I need to use for my Formail application ?

You can download bnbform.cgi from http://www.bignosebird.com/carchive/bnbform.shtml Bnbform.cgi...

What scripts banned on your servers ?

The following scripts are banned from use on our servers and may not be uploaded or run. Reasons...

Can you explain unix/linux file permissions?

Owner = the files users (you) Group = the files group Others = others Permissions Definitions: r...

I am having a problem with my CGI script. Do you have any advice before contacting support?

Below are solutions to some of the more common CGI script problems. When I activate my CGI...