How Should I set my file permissions on cgi-scripts?
We run suEXEC seemlessly through the apache webserver. This effects how file permissions are set. If file permissions are set to rwxrwxrwx, an error will result. Perl scripts will never work if the permissions on the file are 777. Files that would otherwise require world write access (guestbook pages) do not have to have this permission. Since the Perl script which will open and write to the file is executed under the owner’s userid, and the file is also owned by the same user, then the file only needs to be writable by the owner, not the world. There exists some freeware and commercial Perl scripts which may require you to set a directory to rwxrwxrwx (chmod 777). This is NOT necessary. Setting the directory permissions to 755 should always be sufficient. If you do set any directories to rwxrwxrwx, then any Perl scripts located inside of this directory will not execute! top Why does my script produce an ISE (Internal Server Error)? This can have many causes, ranging from incorrect per