Hello yall, first of all, I want to thank for this awesome guide. I followed the steps and was able to play alone at my PC and my notebook. But when I tried to set up a LAN, i ran into a problem, and would like some help!
During SETTING UP WITH LAN CONNECTION, at step “c. while inside the conf folder, open extra folder and open httpd-vhosts.conf”, the instructions tell to delete from <VirtualHost *** up to </VirtualHost>, then add this code:
<VirtualHost 192.168.0.120:80>
ServerName gunbound.local
DocumentRoot C:/wamp/www
ErrorLog "C:/wamp/www/gblogs/error.log"
CustomLog "C:/wamp/www/gblogs/access.log" common
</VirtualHost>
The first problem is, inside httpd-vhosts.conf there are 2 “<VirtualHost *** up to </VirtualHost>”, like this:
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost"
ServerName dummy-host.localhost
ServerAlias
To view the content, you need to sign in or register
ErrorLog "logs/dummy-host.localhost-error.log"
CustomLog "logs/dummy-host.localhost-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host2.localhost"
ServerName dummy-host2.localhost
ErrorLog "logs/dummy-host2.localhost-error.log"
CustomLog "logs/dummy-host2.localhost-access.log" common
</VirtualHost>
And the tutorial is not clear for me if I should delete both or just one of them. I tried deleting both, then only 1…but in both cases I keep getting the meter to stay yellow, never white when restarting wamp.
The other problem is, the tutorial tells to replace this code:
<VirtualHost (your LAN IP)>
ServerName (your domain name)
DocumentRoot C:/wamp/www
ErrorLog "C:/wamp/www/gblogs/error.log" <-- this is optional, you can replace gblogs with any folder name
CustomLog "C:/wamp/www/gblogs/access.log" common <-- this is optional, you can replace gblogs with any folder name
</VirtualHost>
But the code (codes, actually, since there are 2 of them) inside the httpd-vhosts.conf is different from the above (you can see up there, when I wrote them). So I’m not sure if I should just delete everything and keep the one posted with the instructions or if I should adapt with the lines that are the same. Well, I tried just copy and paste the code from the tutorial, changing my IP of course, but it didn’t work at all, the meter keeps yellow at all times.
Please, if somebody knows what am I doing wrong and could give me a hand, I would appreciate!