13.06.2015 Views

Introduction to the Apache Web Server - ApacheCon

Introduction to the Apache Web Server - ApacheCon

Introduction to the Apache Web Server - ApacheCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 10<br />

Indexing with mod au<strong>to</strong>index<br />

http://httpd.apache.org/docs/mod/mod au<strong>to</strong>index.html<br />

If a direc<strong>to</strong>ry is requested, such as http://www.rcbowen.com/imho/, <strong>the</strong>n <strong>Apache</strong> can ...<br />

1. Serve an index file<br />

2. Display a file listing<br />

3. Product an error message<br />

10.1 Options<br />

The Indexes option turns on <strong>the</strong> ability <strong>to</strong> display a direc<strong>to</strong>ry listing in <strong>the</strong> event that <strong>the</strong>re is no index file<br />

in <strong>the</strong> direc<strong>to</strong>ry.<br />

<br />

Options +Indexes<br />

<br />

10.2 Direc<strong>to</strong>ryIndex<br />

This directive specifies <strong>the</strong> file that is <strong>to</strong> e served when a direc<strong>to</strong>ry is requested. Multiple files can be listed<br />

in <strong>the</strong> priority order in which <strong>the</strong>y are <strong>to</strong> be considered.<br />

Direc<strong>to</strong>ryIndex index.html index.php index.cgi<br />

57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!