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 127.0.0.1 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=======================
127.0.0.1 localhost
255.255.255.255 broadcasthost
127.0.0.1 myserver.dev
127.0.0.1 www.myserver.dev
=================================
When I try to connect, connection times out.

before I tried following config of hosts file
=======before=====================
127.0.0.1 localhost
255.255.255.255 broadcasthost
192.168.1.78 myserver.dev
192.168.1.78 www.myserver.dev
===192.168.1.78 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:
========httpd=======================
#Listen 12.34.56.78:80
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>

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

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

=========httpd======================

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
</Directory>
</VirtualHost>

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

please help me to sort out this.

thanks in advance


See More: Apache/LAN configuration problem

Report •


#1
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