Allow accessing WAMP server from local network

There are several configuration you might needed to Allow accessing WAMP server from local network. I have been setting this up and after a long search i found some steps which need to be remember i case you are allowing accessing remote user in Local Network.

Step 1

Click on wamp->apache->httpd.conf
or find this file at wamp/apache/apache2.4.23/conf/httpd.conf
Change Require Local to Require all granted

<directory "${INSTALL_DIR}/www/">
Options +Indexes +FollowSymLinks +Multilives
AllowOverride all
Require all granted

 

Step 2

Click on wamp->apache->httpd-vhosts.conf
or find this file at wamp/apache/apache2.4.23/conf/extra/httpd-vhosts.conf
Change Require Local to Require all granted

<VirtualHost *:80>
ServerName localhost
DocumentRoot d:/wamp64/www
<Directory  “d:/wamp64/www/”>
Allow from all
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Step 3

If you want to allow specific IPs..use below in both the files

Deny for all
Allow for 192.168.0.120
Allow for 192.168.0.121
Allow for 192.168.0.122

 

 

Leave a Comment