You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Guy Speier <gu...@firstlogic.com> on 2002/02/28 19:49:40 UTC

httpd.conf

Sorry for the complete newbie question, but I checked the FAQ at least :-)

I have recently created an Apache web server on my local LAN (linux 7.2
FYI).  I changed the domainname and machine name of this server, made some
modifications to httpd.conf and all was well.  When I try to access the
server from outside my Firewall, it just hangs.

In the FAQ it mentions checking the firewall rules, and I am certain they
are fine (in face, I quickly removed all ruled (so I have default forward
all traffic to this linux server), and this worked for others (ftp, telnet,
ssh, etc), but still not for http.

So, I have a <mydomain.org> (external IP address) that forwards port 80
traffic to <www.mydoain.org>.  What stanzas should I have in httpd.conf?
Should they have my internal info (internal machine name, internal IP, -or-
external machine name, external IP)?

thanks a ton,
Guy

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: httpd.conf

Posted by Mike Arrison <ar...@gnostech.com>.
Well,
	You should check to see if you have a "deny from" or "allow from" line
that's messing you up.  If they look alright, then check the access_log
(usually /usr/local/apache/logs/access_log) and the error_log (usually
/usr/local/apache/logs/error_log).  If when you pull up the web page from
the external side nothing shows up in the access or error logs, then its a
firewall or networking issue.

     -Mike Arrison


-----Original Message-----
From: Guy Speier [mailto:guys@firstlogic.com]
Sent: Thursday, February 28, 2002 1:50 PM
To: users@httpd.apache.org
Subject: httpd.conf


Sorry for the complete newbie question, but I checked the FAQ at least :-)

I have recently created an Apache web server on my local LAN (linux 7.2
FYI).  I changed the domainname and machine name of this server, made some
modifications to httpd.conf and all was well.  When I try to access the
server from outside my Firewall, it just hangs.

In the FAQ it mentions checking the firewall rules, and I am certain they
are fine (in face, I quickly removed all ruled (so I have default forward
all traffic to this linux server), and this worked for others (ftp, telnet,
ssh, etc), but still not for http.

So, I have a <mydomain.org> (external IP address) that forwards port 80
traffic to <www.mydoain.org>.  What stanzas should I have in httpd.conf?
Should they have my internal info (internal machine name, internal IP, -or-
external machine name, external IP)?

thanks a ton,
Guy

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: httpd.conf

Posted by Joshua Slive <jo...@slive.ca>.
> From: Guy Speier [mailto:guys@firstlogic.com]
> I have recently created an Apache web server on my local LAN (linux 7.2
> FYI).  I changed the domainname and machine name of this server, made some
> modifications to httpd.conf and all was well.  When I try to access the
> server from outside my Firewall, it just hangs.

Can you access the site properly from inside the firewall?  If so, it is
almost certainly a firewall configuration problem.

> So, I have a <mydomain.org> (external IP address) that forwards port 80
> traffic to <www.mydoain.org>.  What stanzas should I have in httpd.conf?
> Should they have my internal info (internal machine name,
> internal IP, -or-
> external machine name, external IP)?

In general Apache doesn't need to know anything about your IP address or
hostname.  The only exceptions are if you are running virtual hosts, and the
ServerName directive.  To assure that the ServerName directive is not
causing you problems, I suggest setting "UseCanonicalName Off".  See the
docs for a description of what this does.  Also make sure you aren't using
any BindAddress or Listen directives to restrict the IP addresses that
Apache is listening to.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org