PDA

View Full Version : .htaccess question


peptobismol
02-06-2009, 07:27 PM
hey,
I have this in my .htaccess on my www folder.
Options -Indexes

which makes all directory without an index unaccessible.
But what if I want one directory accessible for viewing?

I know I can have multiple .htaccess files but not sure what to put in it in this particular directory. Is it possible?

thanks

csuebele
02-06-2009, 07:52 PM
hey,
I have this in my .htaccess on my www folder.
Options -Indexes

which makes all directory without an index unaccessible.
But what if I want one directory accessible for viewing?

I know I can have multiple .htaccess files but not sure what to put in it in this particular directory. Is it possible?

thanks

I'm a newbie to this, but my host provider said to just write the line:

+Indexes.

This .htaccess file should over-ride the one set in an upper tier, but I'm really not sure on that.

peptobismol
02-06-2009, 08:21 PM
Thanks!

It's

Options +Indexes