How to disable directory browsing in WAMP

June 3, 2015   /   by Marco  / Categories :  Technology

If you’re using WAMP and are browsing a folder without an index.php or index.html file, the WAMP server will display all the files contained in that folder. Here’s an example:

WAMP Display Directory Listing

 

This can become a security risk as the visitor is able to browse and download all the files. In order to disable this you need to edit the httpd.conf file which can be found here: C:\wamp\bing\apache\apache[version]\conf\httpd.conf

Look for the line

Options -Indexes

All you need to do is then add the # infront of the line so it looks like this:

Options -Indexes

WAMP Disable Directory Browsing

 

Restart WAMP by clicking on the WAMP icon and selecting restart all.

WAMP Restart

This will then disable the directory as shown below:

WAMP Forbidden access

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


POWERFUL REFERRAL PROGRAM TOOL

POWERFUL REFERRAL PROGRAM TOOL

Businesses of all sizes are constantly seeking new and innovative ways to grow their customer base and increase brand awareness. With the rise of social media and the reliance on word-of-mouth marketing, referral programs have become an essential tool for companies looking to expand their reach. However, managing a successful referral program can be a […]

read more
CYBER SECURITY PLATFORM FOR YOUR BUSINESS

CYBER SECURITY PLATFORM FOR YOUR BUSINESS

Cyber security has become a top priority for individuals and organizations alike. With the ever-evolving threat of cyber attacks, it is imperative to have a strong and reliable security platform in place to protect sensitive information and data. That’s where Bleach Cyber comes in. As a leading cyber security platform, Bleach Cyber is dedicated to […]

read more

Like our Page