Back htaccess

Disable directory browsing

WRITTEN BY ON 02 Mar 2014
3,890 VIEWS • SHARES
0 comments

Avoid the server from displaying directory index, or the opposite.

# disable directory browsing
Options All -Indexes
# enable directory browsing
Options All +Indexes
Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.