[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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
0
catonthecouchproductions
Asked:
catonthecouchproductions
  • 2
  • 2
1 Solution
 
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now