I have the following virtual host in my Apache configuration:
<VirtualHost *:80>
ServerName foobarspaz
DocumentRoot "/path/to/document/root"
</VirtualHost>
There is no index.html
file in the document root directory so accessing http://foobarspaz serves up the default Apache test page for my server.
I'd like it instead to serve up a mod_autoindex
generated directory listing of the document root instead of the default page. How would I go about this? (I'm not exactly sure how to go about 'undoing' the default page behaviour for the server root.)