Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:How do I turn automatic directory listings on or off?


If a client requests a URL that designates a directory and the directory does not contain a filename that matches the
DirectoryIndex directive, then mod_autoindex can be configured to present a listing of the directory contents.
To turn on automatic directory indexing, find the Options directive that applies to the directory and add the Indexes
keyword. For example:
Options +Indexes
To turn off automatic directory indexing, remove the Indexes keyword from the appropriate Options line. To turn off
directory listing for a particular subdirectory, you can use Options -Indexes. For example:
Options -Indexes

asked Sep 13, 2013 in APACHE by rajesh
edited Sep 12, 2013
0 votes

Related Hot Questions

Government Jobs Opening