Posted by:
LifeEscalade
(---.hsd1.fl.comcast.net)
#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName files
DocumentRoot c:/wamp64/www/chzlfpv
<Directory "c:/wamp64/www/chzlfpv/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
I have re-edited to Require local. This allows me access through my host machine, however still reads as Forbidden when I attempt to access through non-lan device. All I am attempting to do is allow access strictly to the virtual host set up through Add Virtual Host system in wampserver homepage.
EDIT: ended up changing vhost name in HOSTS file and re-editing vhost.conf to supply localhost as Require local and virtual host as Require all granted. This fixed the issue of having server homepage as landing page when noip hostname was used, and throws Forbidden if ip is entered instead.
Edited 2 time(s). Last edit at 08/23/2016 01:02AM by RiggsFolly.