Turn OFF Directory Listing - Wampserver

. 10/9/12
  • Agregar a Technorati
  • Agregar a Del.icio.us
  • Agregar a DiggIt!
  • Agregar a Yahoo!
  • Agregar a Google
  • Agregar a Meneame
  • Agregar a Furl
  • Agregar a Reddit
  • Agregar a Magnolia
  • Agregar a Blinklist
  • Agregar a Blogmarks

For security, you might wish to turn off the directory browsing capability on your Apache server.

Click - WAMPSERVER icon in Task bar.

1. Open httpd.conf file.

Turn OFF Directory Listing - Wampserver



2. Find keyword - "Indexes"

Turn OFF Directory Listing - Wampserver


3. Search result.

Turn OFF Directory Listing - Wampserver
>

which allows the user to browse the directory structure.


4. to turn directory browsing off, I added a "-" in front of Indexes after Options.

Turn OFF Directory Listing - Wampserver


5. Finally restart All wampserver Services.

Turn OFF Directory Listing - Wampserver

Now the user receives a "403 forbidden" error when attempting to browse the directory structure.

0 comments: