Monday, October 30, 2017

Apache2: List Directoy Contents

Create .htaccess in the folder which will be controlled.

# cat .htaccess
order allow,deny
deny from 123.45.6.7
deny from 012.34.5.
allow from all
Options +Indexes

No comments:

Post a Comment