I'm running Apache on a Windows machine for local testing and I'm new to it.
Currently, if I navigate to
localhost/ in a web browser, it will display an
index.html page if one exists. Otherwise, it will display the directory listing.
- How can I make it so that navigating to a root directory will display more than
index.html? What I need is so that if either:
index.phpexist, it will navigate to one of those.
- How can I disable showing directory roots? I would like it to return a 403 Forbidden error if no index page exists.