What is indexignore in htaccess file?

  • artcoder
  • Student
  • Student
  • User avatar
  • Joined: Feb 27, 2007
  • Posts: 89
  • Loc: United States
  • Status: Offline

Post July 19th, 2007, 2:16 pm

I found this ...

IndexIgnore *

in the .htaccess file in /public_html/

What is this? It has nothing to do with search engine indexing, does it?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 19th, 2007, 2:16 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post July 19th, 2007, 10:54 pm

http://httpd.apache.org/docs/1.3/mod/mo ... ndexignore
Same goes for 2.x

IndexIgnore directive
Syntax: IndexIgnore file [file] ...
Context: server config, virtual host, directory, .htaccess
Override: Indexes
Status: Base
Module: mod_autoindex

Quote:
The IndexIgnore directive adds to the list of files to hide when listing a directory. File is a file extension, partial filename, wildcard expression or full filename for files to ignore. Multiple IndexIgnore directives add to the list, rather than replacing the list of ignored files. By default, the list contains `.'.


Example:
Code: [ Select ]
IndexIgnore README .htaccess *~
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.