From owner-freebsd-jail@FreeBSD.ORG Thu Jan 3 12:17:05 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EAF016A419 for ; Thu, 3 Jan 2008 12:17:05 +0000 (UTC) (envelope-from loic@frozenbox.com) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id CB93013C447 for ; Thu, 3 Jan 2008 12:17:04 +0000 (UTC) (envelope-from loic@frozenbox.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix1-g20.free.fr (Postfix) with ESMTP id 80AAF20E3D32 for ; Thu, 3 Jan 2008 12:50:31 +0100 (CET) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id D72C63EA0E2; Thu, 3 Jan 2008 12:50:29 +0100 (CET) Received: from mx.frozenbox.com (lns-bzn-51f-81-56-130-224.adsl.proxad.net [81.56.130.224]) by smtp4-g19.free.fr (Postfix) with ESMTP id B97723EA12A; Thu, 3 Jan 2008 12:50:29 +0100 (CET) Received: from [192.168.1.2] (unknown [91.91.250.65]) by mx.frozenbox.com (Postfix) with ESMTP id 550F139240C; Thu, 3 Jan 2008 12:50:52 +0100 (CET) Message-ID: <477CCC04.8040106@frozenbox.com> Date: Thu, 03 Jan 2008 12:50:28 +0100 From: =?ISO-8859-1?Q?Lo=EFc_Pefferkorn?= User-Agent: Thunderbird 2.0.0.6 (X11/20070914) MIME-Version: 1.0 To: Yong Taro References: <20080102141019.3a0c9b1d@deskjail> <477CB87D.3050304@gmail.com> <200801031159.44964.michel@douyere.com> <477CC4A6.7010400@gmail.com> In-Reply-To: <477CC4A6.7010400@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: FreeBSD-Jail Subject: Re: web(HTTP) services in host and jailed systems X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 12:17:05 -0000 Hello, Yes it is possible using a "reverse proxy". Apache is able to do it with its mod_proxy* modules. Loic Yong Taro a écrit : > Sorry, I will reformulate > > I want to have the following: > "mydomain.com" and "myblog.com" will resolve to IP1. > "mydomain.com" will be serverved by the webserver listening on IP1:80 > "myblog.com" will be server by the webserver listening on IP2:80 - which > is a jailed system. > > is this possible ? > > > Michel wrote: >> Le jeudi 3 janvier 2008, Yong Taro a écrit : >> >>> 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 Listen 80 >> for >> Listen IP1:80 >> >> >> _______________________________________________ >> freebsd-jail@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-jail >> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" >