r2 - 17 Nov 2006 - 19:31:22 - LucaVenturiniYou are here: Kb Web  > HtAccessDirectoryIndex

How can I toggle the directory index feature for a folder of my domain?

If a URL which maps to a directory of your site is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then the browser will get an error.

  • If you want to show an empty page, put an empy index.html in your directory.
  • If you need to show the formatted listing of the directory you can activate the directory index option.

To add the directory index option to a directory and to all the subdirs, just put a file named .htaccess in the directory with the following line.

Options +Indexes

If a .htaccess file is already in your directory, then add the line.

KnowledgeBaseForm
TopicClassification KnowledgeBase?
PublicTitle How can I toggle the directory index feature for a folder of my domain?
ServiceGroup Web
RelatedTopics

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Yepa Knowledge Base
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of Yepa S.r.l.
Ideas, requests, problems regarding Knowledge Base? Send feedback