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.
  • 8 Users Found This Useful
這篇文章有幫助嗎?

相關文章

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,...

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

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

How do I use FormMail?

FormMail-clone is clone of Matt Wright's FormMail.cgi under a less restrictive license. It should...

How do I run my own CGI programs?

Put your CGI programs in the cgi-bin directory. Make sure you upload them in ASCII mode. Change...

Where do I put CGI scripts?

Put your cgi-bin scripts in the public_html subdirectory named "cgi-bin".