What file permissions do I need for my CGI script?

CGIs 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

Do I have full access to a CGI-BIN?

Yes. We supply the means to install and access some scripts, such as counters, a guestbook,...

Can I run my own software on my site?

All plans allow running scripts in languages such as Perl or PHP. You can also run "cron" jobs...

Can I run Perl/CGI scripts outside the cgi-bin?

No, for security reasons all Perl and CGI scripts must be run from your cgi-bin folder.

My counter, bbs, guestbook, etc isn't working.

These problems are generally due to incorrect permissions on either the directory, file(s) or cgi...

What type of CGI can be allowed?

You can use Perl or PHP scripts. We keep both languages updated to the latest stable versions.

Powered by WHMCompleteSolution