You are on page 1of 3

own Virtual Hosts.

#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

If you want to allow access from anywhere replace Require local with:

Require all granted

If you want to be more specific and secure add access rights like this to only allow computers in
your local network:

Require local
Require ip 192.168.1

Or to be even more specific and only allow certain computers:

Require local
Require ip 192.168.1.101
Require ip 192.168.1.102

Make sure to restart WAMP after you edit the httpd-vhost.conf.

WAMP Server Training: Learn WAMP Server online. Courses as low as $9.99 at Udemy!

Step 2: Setup the Other Computers

You might also like