On Mon, May 01, 2017 at 11:55:49AM -0400, Tony Baldwin wrote: > If you just want to list the directories contents, try putting in an > index.php with something like this in it:
Or remove all of index.php, index.html and index.htm, and make sure you've turned on the "Indexes" option for this directory in the Apache config. Then Apache will simply generate a directory index page for you, and you don't need to write a PHP program.