PDA

View Full Version : [ubuntu] how can I turn off indexing for specific directory?



kustomjs
May 12th, 2009, 07:09 AM
Hi Guys
I want to know how I can turn off indexing for specific directory?

hw-tph
May 12th, 2009, 08:42 AM
I'll just take a wild guess and say that you're talking about Apache directory listings. If so, it's very easy. Set up a .htaccess file in that directory and simply put this in it:

Options -Indexes
...which will deny the user a directory listing, or...

IndexIgnore *
...which will return a blank index page.

kustomjs
May 15th, 2009, 05:26 AM
well see this is what I am having problems with when you do a google search and I want to make sure nobody can see this here what im talking about: http://www.timscomputerrepair.net/cbcperformance/cart/?C=S%3BO=D