Apache on two nic's
Jason Lavigne
jlavigne at bwlogic.com
Thu Oct 23 09:02:14 PDT 2003
Look in your apache config for
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 12.34.56.78:80
and list all the IPs you want apache to listen on.
HTH
cheers
Jay
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Damien Hull
Sent: Thursday, October 23, 2003 11:56 AM
To: freebsd-questions at freebsd.org
Subject: Apache on two nic's
I've got Apache running on 4 stable. The server started out with one
network card plugged into our privet network. We could get to the
website on the server just fine.
Here is what we want
1. access from the outside
2. some websites will be internal and others will be public
Here is my quick solution
1. Added a second network card to the server
2. connected the network card to the outside of the network
3. tired to connect to the website on the new IP address
4. Got nothing
5. Added a virtual server that listened on the new address but got
nothing.
I've looked at the Apache config file and there is a place to put in an
IP address but I left that alone. As fare as I can tell it's listening
to all addresses.
Can someone tell me what I need to do to get this working?
NOTE:
I don't have accesses to the proxy so I can't reprogram it to forward
connections to the server.
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list