On Fri, 14 Feb 2003, Jordi Curià wrote:

> I want to share the port  80 with squid and apache, I don't know if
> it's posible. I want to use squid on port 80 and I want to use a
> intranet web like http:///www.mydomain.com. Now I'm rounning de apache
> in other port like http://ww.mydomain.com:81

An idea....if we assume that your system has 2 NIC.  One facing inward,
and the other towards the Internet.  And, we assume that the folks inside
don't really care so much about getting to www.mydomain.com.

You can configure (I believe...without looking at the documentation)
apache to bind to the Internet facing interface (ethX, ppp0?) on port 80
and (optionally) to port 81 on the inward facing interface.  Then you tell
squid to bind to port 80 on the inward facing interface.  Chances are you
don't want to bind to the outward facing interface anyway.

Just a thought before dinner here in Taiwan....

Ed


-- 
http://www.shorewall.net/  for all your firewall needs



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to