Displaying DirectoryIndex in url with Apache
1 answer
I don't think it is possible to start Apache to do this automatically.
But if you know the index document, you can use mod_rewrite to redirect requests like this:
RewriteEngine on
RewriteRule ^/$ /index.html [L,R=301]
+1
a source to share