Trying to alllow indexing .htaccess

I am wondering is it possible, to allow indexing to certain directories on my hosting account?
What would I do to allow indexing with .htaccess on a linux box.

Ryan
LVL 1
catonthecouchproductionsAsked:
Who is Participating?
 
jimstarCommented:
You would use the following option in your .htaccess file for the directory you wish to enable indexing of:

Options +Indexes
0
 
catonthecouchproductionsAuthor Commented:
So whatever directory I wanted to allow it in, I would make the file and put it in that directory?

Ryan
0
 
jimstarCommented:
Yep, also be aware that it affects all subdirectories as well, unless you place another .htaccess file in those subdirectories which overrides the parent directory's setting.
0
 
catonthecouchproductionsAuthor Commented:
Ahh..I never knew that, thank you for your help!

Ryan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.