RE: RE: Running apache twice on the same system

From: Vince Hoffman (Vince.Hoffman_at_uk.circle.com)
Date: 10/23/03

  • Next message: Sergey 'DoubleF' Zaharchenko: "Re: Need some insight on error messages that I am getting."
    To: "'dhull'" <dhull@digitaloverload.net>, Vince Hoffman <Vince.Hoffman@uk.circle.com>
    Date: Thu, 23 Oct 2003 19:27:34 +0100
    
    

    too many variables to be able to give a definite answer but,

    1) do other services (telnet/ftp/ssh/whatever) work on both IPs.
    2) whats the output of grep ^Listen /path/to/httpd.conf (changing
    /path/to/ appropriately)
    (should just be Listen 80 )
    3) whats the output of sockstat |grep httpd
    should be something like
    www httpd 1841 3 tcp46 *:80 *:*

    www httpd 1837 3 tcp46 *:80 *:*

    www httpd 1836 3 tcp46 *:80 *:*

    www httpd 1835 3 tcp46 *:80 *:*

    www httpd 1818 3 tcp46 *:80 *:*

    I have it a similar setup and can access mine fine on both IPs.

     -----Original Message-----
    From: dhull [mailto:dhull@digitaloverload.net]
    Sent: 23 October 2003 18:56
    To: Vince Hoffman
    Cc: freebsd-questions@freebsd.org
    Subject: Re: RE: Running apache twice on the same system

    Here is my setup
    1. the system has two network cards in it
    2. One is connected on the outside of the network and the other is inside
    3. I can get to the website on the inside IP address but not the outside

    Here is what I want
    1. Have a website on the inside of the network
    2. Have a website on the outside of the network
    3. Hosted on the same system

    For some reasion apache doesn't want to listen on the other network card.

    Any ideas??

    -------Original Message-------
    > From: Vince Hoffman <Vince.Hoffman@uk.circle.com>
    > Subject: RE: Running apache twice on the same system
    > Sent: Oct 23 2003 17:50:25
    >
    > You shouldnt need to run it twice, use virtual host
    > directives to make one virtual host listen to one
    > IP and the other to the other.
    >
    > all in the apache docs.
    > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2.
    >
    > otherwise create different conf files and point your apache
    > executable at one then the other.
    >
    > > -----Original Message-----
    > > From: dhull [mailto:dhull@digitaloverload.net]
    > > Sent: 23 October 2003 18:39
    > > To: freebsd-questions@freebsd.org
    > > Subject: Running apache twice on the same system
    > >
    > >
    > > How do I get apache to run twice on the same system?
    > >
    > > I want them to listen to different IP addresses.
    > >
    -------Original Message-------
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Sergey 'DoubleF' Zaharchenko: "Re: Need some insight on error messages that I am getting."

    Relevant Pages

    • Re: RE: Running apache twice on the same system
      ... the system has two network cards in it ... One is connected on the outside of the network and the other is inside ... I can get to the website on the inside IP address but not the outside ... For some reasion apache doesn't want to listen on the other network card. ...
      (freebsd-questions)
    • Re: IPS, alternative solutions
      ... I have the impression that some of the alternatives to IPS you mentioned ... Parts of the market have matured (network ... implementations (in-line protocol decoding and blocking/active response ... an often deployed technology at this time is ...
      (Focus-IDS)
    • RE: ASIC Based IPS
      ... IPS performs on each network stream can be done in parallel, ... There are 2 ways to achieve parallelism: ... The benefits of speed come about when you start using ASICs in parallel ...
      (Focus-IDS)
    • NADS ( was RE: IPS comparison)
      ... One thing that does bother me is how IPS has been ... great at the perimeter or other "choke points" in the network. ... NADS gives much of the value of traditional network ... that detection by itself is just not enough. ...
      (Focus-IDS)
    • RE: Network hardware IPS
      ... Subject: Network hardware IPS ... > Intrusion Prevention and Traffic Shaping Technology to: ...
      (Focus-IDS)