Welcome, Guest. [ Log In ]
Question   What is the standard Directory listing you use in your virtualhost apache configuration file?
Search KBase


Top 2 in this Area:
1. What is your DirectoryIndex setting?
2. What is the standard Directory listing you use in your virtualhost apache configuration file?

 
What is the standard Directory listing you use in your virtualhost apache configuration file?
For non-cgi domains, it is of the form:

<Directory /home/username/domain.com>
AllowOverride AuthConfig FileInfo Indexes Limit
Options IncludesNOEXEC Indexes FollowSymLinks
</Directory>

For cgi-enabled domains, it is of the form:

<Directory /home/username/domain.com>
AllowOverride All
AddHandler cgi-script .cgi .pl .py
Options Includes Indexes FollowSymLinks ExecCGI
</Directory>

Last updated: May 31, 2001.