by Threecats » 01. August 2017 15:34
My understanding is that Apache serves up anything called 'index' on entering a directory. On my setup, the 'htdocs' folder contains an 'index.php' script, that creates the 'Dashboard' page when run.
Just create a sub-directory in the 'htdocs' directory, and anything called 'index.html' or 'index.php' will be automatically run once Apache opens that directory.
Also, remember that you need to include the full path to the script you want to run in the address bar of your browser. For example, if the script you wanted to run was called 'login.php', and it was in a directory called 'sesame', you'd need to use the following filepath:
http://localhost/sesame/login.php