I'm running Apache on my stationary and I would like to access a website through my laptop.
This is some of the Apache config:
NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ServerName mysite.com DocumentRoot I:/wamp/www/mysite/ </VirtualHost> ServerName localhost:80 <Directory /> Options FollowSymLinks AllowOverride all Order deny,allow Deny from all </Directory>
On my laptop I've added the following to the
But accessing the page through mysite.com is not very successfull. If I enter the IP address directly, I only get a
What do I need to do in order to get this to work?
I'm runing WAMPSERVER 2.1 (Apache 2.2.17)
Apache is up and running
I can ping 10.0.0.3 from laptop
I'm not able to ping http://mysite.com from laptop
IE gives me a
403 Forbidden ->
The website declined to show this webpage
The only log that get's entries when trying to access the website from my laptop, is access.log.
10.0.0.4 - - [13/Jun/2011:10:14:04 +0200] "GET / HTTP/1.1" 403 202
[Mon Jun 13 10:08:16 2011] [error] VirtualHost localhost:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
My apache config has the following entry:
AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1
Could it be that this
Allow from is stopping other computers accessing the page?