Last update:
June 5, 2002

Presentation  
 
Presentation
Working conditions
Panel of servers

Apache  
 
Operation
Modules
Optimization solutions

Caching PHP  
 
Presentation
Pages caching
Opcodes caching

Example  
 
Optimization on Wysistat

Links  
 
Apache 1.3
PHP Accelerator
ID.fr
Mesure d'audience

Study and optimization
of a Web server

 

mod_dir

 

Back to the list


This module provides for "trailing slash" redirects and serving directory index files.
 
The index of a directory can come from one of two sources:

 
A "trailing slash" redirect is issued when the server receives a request for a URL http://servername/foo/dirname where dirname is a directory. Directories require a trailing slash, so mod_dir issues a redirect to http://servername/foo/dirname/.
 
Example :
DirectoryIndex index.html
Then a request for http://myserver/docs/ would return http://myserver/docs/index.html if it exists, or would list the directory if it did not.
Characteristics :
  • actived by default
  • intervenes in following steps : response
  • implements configuration commands


Contact - version française