Dir.php Source Code

Copy and save this code as dir.php on your computer. Then place it in your server's root folder.

Purpose: This script will deny directory listings for a particular directory name, specifically _notes in this example.
It will deny directory access to /_notes/, /goofy/_notes/, /one/two/_notes/, or any variation thereof.

To install on Abyss Web Server,

[Download]

Note: You use this script at your own risk!

Bugs, comments, questions? Contact Me