I've been trying to find a way that people can view a folder on my website through a browser and download files. I've seen this before. The file is "Chmoded" to 777 but I still get an "Access Denied" error message. What do I need to do to make this work?
How to create a "Public Folder" on my website?
Check a search engine for "htaccess Directory Listing" - you don't need to do nothing with chmod.
Basically you create a htaccess-file in that folder and allow DirectoryListing.
Here is how to create the htaccess file: http://httpd.apache.org/docs/1.3/howto/htaccess.html
This is how you allow people browse the dir using htaccess:
Allow directory browsingThere may be times when you want or need to allow visitors to browse a directory. For example, you may need to allow access to files in a directory for downloading purposes on a server that is configured to not allow it.
Many servers are configured so that visitors cannot browse directories. In that case visitors will not see the contents of the directory but will instead get an error message.
You can override the servers settings and allow directory browsing with this line:
Options +Indexes
Thanks a bunch guys! worked like a charm!
Okay it stopped working.
I tried to configure a password protection but when I couldn't upload that to my root directory I decided to not worry about it; but now when I reset everything it no longer works at all.
I uploaded the file in ASCII format with "Options +Indexes" in the text file and renamed it once it was on the FTP to ".htaccess" . It worked fine just a minute ago but now it doesn't work at all.
Help!
EDIT: Nevermind got it now! Whew.
Aqua-Soft Forums