cl58 Posted January 20, 2010 Posted January 20, 2010 I am having trouble running a perl script. It is giving a 500 Internal Server Error. Its permissions are 777 so I don't know why it is not working. The file is http://cl58tools.co.cc/guestupload/upload.cgi (it did not work in cgi-bin either). The script is from http://www.ftls.org/en/examples/cgi/eUpload.shtml
Byron Posted January 20, 2010 Posted January 20, 2010 Add that error snippet I posted to you a few days ago and check what your errors are. CHMOD your cgi file to 755 not 777 and it should work.
cl58 Posted January 21, 2010 Author Posted January 21, 2010 Thanks, that did it. But, why would 755 work and not 777. 777 is 755, but with added permissions. It has execute permissions with 777.
Byron Posted January 21, 2010 Posted January 21, 2010 Thanks, that did it. But, why would 755 work and not 777. 777 is 755, but with added permissions. It has execute permissions with 777. I think it probably has something to do with security since 777 is very insecure and isn't necessary.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now