3

Can you please tell me how to deny folder browsing using .htaccess file

Gumbo
  • 643,351
  • 109
  • 780
  • 844
mrN
  • 3,734
  • 15
  • 58
  • 82

2 Answers2

10
Options -Indexes
Delan Azabani
  • 79,602
  • 28
  • 170
  • 210
-2
order allow deny
deny from all
allow from 192.126.12.199
Dezigo
  • 3,220
  • 3
  • 31
  • 39
  • 1
    Some formatting would be good and some explanation + context. Plus allowing from a specific IP was not part of the OPs question. – roborourke Sep 21 '10 at 11:26