PDA

View Full Version : How do i allow the user to list directory?



ultim
12-27-2005, 10:33 AM
Hi
ive just got my site up and running. I have one small problem.
ive created a directory within my public_html folder called "tmp". I want the user to able to see the list of files in that directory. ive already set the folder permission to 755 using DA control panel. However still when i goto the folder (i.e. www.xxxx.co.uk/tmp/) it displays 403 permission denied error.

how can i fix this?

hope someone can help!

jmstacey
12-27-2005, 10:40 AM
This may be of help:
http://help.directadmin.com/item.php?id=22

ultim
12-27-2005, 10:42 AM
thanks for the reply!
you got an example .htaccess file i can look at? never created one before

jmstacey
12-27-2005, 10:46 AM
It's just a regular file. Once you've created it, just slap the code in there and you should be set.

Options +Indexes

Edit: Notepad can do it by selecting the All files type and then just naming it ".htaccess"

ultim
12-27-2005, 10:49 AM
thanks got it working now