Apache/LAN configuration problem

March 21, 2009 at 08:11:19
Specs: Windows Vista
Hi there,

Im stuck here:
one LAN
two laptops(OS Vista)
one laptop running Apache 2.2
I can ping both ways
lap runnig apache has access to
myserver.dev thorugh http//localhost
or or myserv.dev itself

other machine cant access myserver.dev
I tried access throogh IP of that machine
wich is runnig apache but it didn work

hosts file is configured as follows:
=========hosts======================= localhost broadcasthost myserver.dev www.myserver.dev
When I try to connect, connection times out.

before I tried following config of hosts file
=======before===================== localhost broadcasthost myserver.dev www.myserver.dev
=== is IP of Server laptop========
it didn work either

What should be configured in terms to see myserver.dev from both mashines on the same LAN?

here are some configuration parts of my httpd:
Listen 80

# If your host doesn't have a registered DNS name, enter its IP address here.
ServerName www.myserver.dev:80

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all

# Virtual hosts
Include conf/extra/httpd-vhosts.conf


and here is httpd-vhosts file
============vhosts file========
<VirtualHost *:80>
DocumentRoot "C:/Server/www/myserver.dev/public_html"
ServerName myserver.dev
ServerAlias www.myserver.dev
<Directory "C:/Server/www/myserver.dev/public_html">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all

===========v hosts================

please help me to sort out this.

thanks in advance

See More: Apache/LAN configuration problem

Report •

March 23, 2009 at 08:44:12
I found the answer myself!!!!

there is not the problem in apache configuration at all but the windows firewall restrictions.

I should of open tcp port 80 for incoming trafic which in turn apache is listening

Report •
Related Solutions

Ask Question