Tuesday, September 29, 2009

htaccess: directory browsing

To enable directory browsing, add a .htaccess file under that directory and add this line to the file: "Options +Indexes"
To prevent directory browsing, add this to the file: "IndexIgnore */*"

No comments: