The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mandriva: Updated apache 2.2.x packages fix multiple iBot Security Advisories (RSS) 0 01-17-2008 10:40 AM
Multiple LAN Interfaces Docboyeee AIX 2 12-16-2006 12:23 PM
DHCPD, Multiple interfaces, Single Subnet vertigo23 IP Networking 0 10-26-2005 06:42 PM
Apache Config> One IP, Multiple Servers l008com UNIX for Advanced & Expert Users 7 09-15-2003 09:54 AM
Multiple Interfaces and Routes diemos IP Networking 3 06-22-2001 10:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-08-2003
cerberusofhnsg's Avatar
cerberusofhnsg cerberusofhnsg is offline
Registered User
  
 

Join Date: Jul 2003
Location: MT
Posts: 43
multiple interfaces with apache?

I'm having some problems here, and was wondering whether it was an Apache problem. We have two firewalls where I'm at, Apache is installed on the second one. The first firewall is setup to forward all outside requests to port 80 on the second firewall. Apache is only working on the lan, not the internet. What I was wondering is whether Apache binds to the first network card by default, and if so, how to enable Apache to bind to the second interface as well. I've tried Virtual Hosts, to no avail. Apache 1.3.28 if that helps.
  #2 (permalink)  
Old 08-08-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
According to the FAQ, Apache listens to all interfaces by default (which, of course, doesn't make sense of why they then put in a Listen directive! - I kept reading - it's more for adding other ports than interfaces/IPs)

Quote:
Reduce the number of Listen directives. If there are no other servers running on the machine on the same port then you normally don't need any Listen directives at all. By default Apache listens to all addresses on port 80.
Listen directive may work - I have no way of testing.

Note what FAQ question 18 states -

Quote:
Why can I access my website from the server or from my local network, but I can't access it from elsewhere on the Internet?
There are many possible reasons for this, and almost all of them are related to the configuration of your network, not the configuration of the Apache HTTP Server. One of the most common problems is that a firewall blocks access to the default HTTP port 80. In particular, many consumer ISPs block access to this port. You can see if this is the case by changing any Port and Listen directives in httpd.conf to use port 8000 and then request your site using http://yourhost.example.com:8000/. (Of course, a very restrictive firewall may block this port as well.)

Last edited by RTM; 08-08-2003 at 01:08 PM..
  #3 (permalink)  
Old 08-09-2003
cerberusofhnsg's Avatar
cerberusofhnsg cerberusofhnsg is offline
Registered User
  
 

Join Date: Jul 2003
Location: MT
Posts: 43
already gave it a shot by changing the port value- however I called our company's ISP (who owns the outside router, no one but them are allowed to touch it), and repeatedly requested for them to reboot the damn thing, and they finally did. suffice to say, that solved the problem. I thought perhaps it was an Apache issue, as ive never ran Apache on a system with multiple interfaces. Thanks for the reply though, and yes, i saw the Apache FAQ as well, thats what confused me as why it wasnt working.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0