Disable directory browsing wamp
The correct answer is delete the +indexes in the file httpd-vhosts.conf
BEFORE CHANGE:
# Virtual Hosts
#
<VirtualHost *:81>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +indexes+Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
AFTER CHANGE:
# Virtual Hosts
#
<VirtualHost *:81>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Trying to disable directory browsing in wamp so my files won't be listed in localhost.:::ANSWERS FOR THIS QUESTIONS DONE
Post a Comment
0Comments