Local xampp Directory Index

How can I apply the DirectoryIndex property to all subdirectories of htdocs folder?

Currently in config file:

DocumentRoot “/Applications/XAMPP/xamppfiles/htdocs”

DirectoryIndex index.html index.php /public/index.php

I want to be able to open localhost/mywebsite and for it to automatically open the index.php file inside of the public folder instead of listing ‘index of’. Hope this makes sense. Thanks in advance.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.