cl58 Posted January 20, 2010 Share 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 Quote Link to comment Share on other sites More sharing options...
Byron Posted January 20, 2010 Share 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. Quote Link to comment Share on other sites More sharing options...
cl58 Posted January 21, 2010 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Byron Posted January 21, 2010 Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.