0

Apache : How do I block directory browsing

i need to block or disable /dir1 directories located from /var/www/html/dir. i ll will not able to access on browser for specific IP' s.

jack
asked Oct 5, 2017
1 Answer
0

one of the method worked for me that i attached below try it...

<Directory /var/www/html/dir/dir1>
 order allow,deny
 allow from all
 deny from 192.168.1.10 192.168.1.25
</Directory>

after that restart the apache service and check it...

View More
arunkumarak
answered Oct 7, 2017
Your Answer
||||
x
 
100:0

Related News in Apache : How do I block directory browsing

Related News in Apache : How do I block directory browsing