CGI scripts need certain file permissions to be set if they are to work properly. In general CGI scripts need to have permissions on 755 (rwxr-xr-x), although PHP files only need 644 (rw-r--r--). The folders containing CGI scripts also need certain permissions. In particular, if a folder has very lax permissions, such as 777 (rwxrwxrwx), the web servers will not execute the scripts contained in it. Folders containing CGI scripts should ideally have permissions of 711 (rwx--x--x). This also applies to the folders that contain the first folder, if you have a multi-level folder structure, although 755 for folders is also fine.
- 84 Users Found This Useful
Related Articles
When I try and view my website I get an HTTP Error 403 - Forbidden message.
A '403 Forbidden' message means that the browser has requested a page that it is not permitted to...
My CGI/ASP/PHP script is giving an error when trying to write to a file.
This applies to Linux hosting accounts only.This is almost certainly down to incorrect...
A custom filetype isn't being recognised, how can I make sure it is?
You can force this through using a '.htaccess' file. Remember that the directives inside an...
My CGI/Perl scripts are failing with error 500 (Internal Server Error)
These errors are nearly always related to a coding error within the script, or bad variables...
I can't see the images on my website. Why?
There are several possible reasons why your images are not showing up on your pages as...
Powered by WHMCompleteSolution