Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2008 12:50:28 +0100
From:      =?ISO-8859-1?Q?Lo=EFc_Pefferkorn?= <loic@frozenbox.com>
To:        Yong Taro <yanicher@gmail.com>
Cc:        FreeBSD-Jail <freebsd-jail@freebsd.org>
Subject:   Re: web(HTTP) services in host and jailed systems
Message-ID:  <477CCC04.8040106@frozenbox.com>
In-Reply-To: <477CC4A6.7010400@gmail.com>
References:  <BAY102-W41E0DDC536BD8491761400F65C0@phx.gbl>	<20080102141019.3a0c9b1d@deskjail>	<477CB87D.3050304@gmail.com>	<200801031159.44964.michel@douyere.com> <477CC4A6.7010400@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477CCC04.8040106>