In particular, you need something like this in your Apache configuration (and inside your VirtualHosts declaration if you use it):
<Location />
Options Indexes
IndexOptions +ScanHTMLTitles -IconsAreLinks +FancyIndexing
AllowOverride None
order deny,allow
allow from all
</Location>
What this particular configuration block does is for the web site root (and any directories under it):
- auto-creates an index if there is no index.(html|htm|pl|cgi|php, etc.)
- turns on fancy indexing and HTML title scanning (makes listings prettier)
- disables any .htaccess files
- sets up basic access rights (everyone can access)
Apache has VERY good documentation on their website. (
http://www.apache.org) -- I highly reccomend you pull up a chair and do some reading, I learned a lot there.