I like the built in indexing that apache can do, I use it a lot to navigate certain files of mine. The problem I run into is that I normally leave a directory with no index.html
so that I can view the index this way, but it allows the public to also view files in that directory (and I don't want them to).
Is there any way to put a password on all index.html
/index.php
that are non existent, so that all indexing is password protected? Or is there a way to say index.html
or index.php
is no longer what indexes a directory but say indexdir.html
will run the code to index? Or even drop in a .htaccess
file in certain directories I'd like to view for myself only.