From owner-freebsd-jail@FreeBSD.ORG Thu Jan 3 11:19:18 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 1272C16A52E for ; Thu, 3 Jan 2008 11:19:18 +0000 (UTC) (envelope-from yanicher@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1307E13C458 for ; Thu, 3 Jan 2008 11:19:16 +0000 (UTC) (envelope-from yanicher@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so4084930fgg.35 for ; Thu, 03 Jan 2008 03:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=2PjVUjUK82iqQtIsZuUpNt0h8d6tfDK+ZKhFP1ySc3k=; b=oqifQxxCDK5Uz0AmLs81xLioZrgJKp+35RjyU6/BrR6r3LnXWt8NFriShUJO/+dLUNSqER/3cKMQU4hTHEuWIB/5lktT672cwirJyb1j148xv1M29vBPmnpQaFO8AJfTwS8uc6NDjVhCA6ZNspvPyDO6csEZ6UQAgIUFFiAkE60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Qe64JC69/BE+ItKqclpMjLXJ8DNVvnqFE4WFkBv1siKopgGdVPKMHnMoxzsLchl6gRJiAlx84LqANRj93062eXi4s32Uo66FJMzG0VqH14u290oKB2Wi9MTG9pMjx8C/e6lcpQsGadeqSgI+VRC7aMEHChvLrkvE4hOsD8qMmqo= Received: by 10.86.50.8 with SMTP id x8mr15537386fgx.30.1199359155544; Thu, 03 Jan 2008 03:19:15 -0800 (PST) Received: from ?192.168.3.199? ( [212.72.208.162]) by mx.google.com with ESMTPS id d13sm21672015fka.16.2008.01.03.03.19.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jan 2008 03:19:14 -0800 (PST) Message-ID: <477CC4A6.7010400@gmail.com> Date: Thu, 03 Jan 2008 13:19:02 +0200 From: Yong Taro User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: FreeBSD-Jail References: <20080102141019.3a0c9b1d@deskjail> <477CB87D.3050304@gmail.com> <200801031159.44964.michel@douyere.com> In-Reply-To: <200801031159.44964.michel@douyere.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 11:19:18 -0000 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" > >