Computing.Net > Forums > Networking > Apache/LAN configuration problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache/LAN configuration problem

Reply to Message Icon

Name: award
Date: March 21, 2009 at 08:11:19 Pacific
OS: Windows Vista
Subcategory: Servers
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: award
Date: March 23, 2009 at 08:44:12 Pacific
Reply:

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


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Apache/LAN configuration problem

On-line LAN configuration software www.computing.net/answers/networking/online-lan-configuration-software/2002.html

LAN/Router problem www.computing.net/answers/networking/lanrouter-problem/26751.html

DLink router/Lan configuration www.computing.net/answers/networking/dlink-routerlan-configuration/27292.html