Posted by:
seanfilidis
(---.cable.dynamic.v4.ziggo.nl)
Thanks for your reply.
Okay, I reverted all my changes:
- Deleted the extra entries I made to httpd-vhosts.conf
- Changed my server name back to localhost:80 in httpd.conf
- Deleted entry I had made to my hosts file
I now used the WAMP Virtual Hosts tool to add an entry:
- It would not let me use my IP address as a server name, so I just entered 'test'.
- I set the path to C:/wamp64/www/wordpress
Now, my vhosts file looks like this:
# 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>
#
<VirtualHost *:80>
ServerName test
DocumentRoot "c:/wamp64/www/wordpress"
<Directory "c:/wamp64/www/wordpress/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
I see it automatically added the following lines to my hosts file as well:
127.0.0.1 test
::1 test
So, now, I can enter [
test] and get to my project as long as I am on the same computer. But this doesn't help me.
I want to access my project from other devices on the network via my server's IP. Right now, if I type 192.168.178.185 into a browser on another device, I get a 403 Forbidden error.
What am I missing?
Edited 1 time(s). Last edit at 02/20/2018 09:27PM by seanfilidis.