how to forbidden wamp to list Directory?
Posted by: sky2145 (119.123.135.---)
Date: September 09, 2015 03:50AM

is there have a switch to control wamp to list directory?
How to do this?
I don't want to list Directory.

Options: ReplyQuote
Re: how to forbidden wamp to list Directory?
Posted by: Otomatic (Moderator)
Date: September 09, 2015 09:39AM

Hi,

For one directory:
.htaccess file: [httpd.apache.org]
With Options: [httpd.apache.org]
For all directory: httpd.conf file (Wampmanager icon->Apache->httpd.conf)
Replace
    Options Indexes FollowSymLinks
by
    Options -Indexes +FollowSymLinks

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.