Date: Thu, 3 Jan 2008 11:59:44 +0100 From: Michel <michel@douyere.com> To: FreeBSD-Jail <freebsd-jail@freebsd.org> Subject: Re: web services in host and jailed systems Message-ID: <200801031159.44964.michel@douyere.com> In-Reply-To: <477CB87D.3050304@gmail.com> References: <BAY102-W41E0DDC536BD8491761400F65C0@phx.gbl> <20080102141019.3a0c9b1d@deskjail> <477CB87D.3050304@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le jeudi 3 janvier 2008, Yong Taro a =E9crit=A0: > hello, > you can welcome another jail-user. > > So far have some confusions, and need to clarify them out. > > On the host system I want to have a webserver IP1:80 that expose some > static content with not {POST,CGI} support. > On the jailed system I want to have another webserver IP2:80 that expose > some blogging services that has full HTTP support. > > Question: once the IP2 is on the same network card (alias to the IP1 - > if I got it right. IP1 is a real IP) how those two services > will serve the right users ? Did I missed something ? > > thanks. > _______________________________________________ Yes : from the man page The following frequently deployed ser- vices must have their individual configuration files modified to limit the application to listening to a specific IP address: To configure sshd(8), it is necessary to modify /etc/ssh/sshd_config. To configure sendmail(8), it is necessary to modify /etc/mail/sendmail.cf. For named(8), it is necessary to modify /etc/namedb/named.conf. And for Apache you must have a look at hpptd.conf and change=20 Listen 80 for Listen IP1:80
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801031159.44964.michel>