jrsweets Posted March 8, 2004 Posted March 8, 2004 I have a folder on my site for downloads. I would like to set the permission so that I can link to the file let people download it, but if they try to directly access the folder they will get the access denied message. The only way I am able to let people download is to set the CHMOD to 755. Does anyone have any idea what I am doing wrong? Quote
TCH-Bruce Posted March 8, 2004 Posted March 8, 2004 Do a CHMOD 711 on the folder and it will allow you to link to a file for download. When they try to go to the folder they will get a "forbidden" error. Quote
jrsweets Posted March 8, 2004 Author Posted March 8, 2004 TCH-Bruce to the rescue once again. You are the man. Thanks! Quote
jrsweets Posted March 8, 2004 Author Posted March 8, 2004 Forbidden You don't have permission to access /downloads/ on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Is that the default page for this? Why am I getting the additional error? see here http://www.jeffrusso.net/downloads/ Quote
TCH-Dick Posted March 8, 2004 Posted March 8, 2004 Why am I getting the additional error? You need to create a 403 page. You can do that directly from cpanel. That will stop the error and you can customize the 403 to whatever you like. Quote
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.