[Twisted-Python] twisted.web question

Hello, I'd like one server to be able to host several web sites, hence: Is it possible to use Twisted.web with virtual host functionality such as that provided by Apache? Thanks, Gil

On 16 Oct 2002 14:33:01 -0400 Gil Hauer <gilh@sympatico.ca> wrote:
Is it possible to use Twisted.web with virtual host functionality such as that provided by Apache?
Sure, look at twisted.web.vhost module. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting

On 16 Oct 2002, Gil Hauer <gilh@sympatico.ca> wrote:
I'd like one server to be able to host several web sites, hence:
Is it possible to use Twisted.web with virtual host functionality such as that provided by Apache?
Is it ever! You can decide to go with one big process for all of them, a front server and a seperate server for each virtual host (for example, for permission reasons), and you can even mix-and-math between Apache and Twisted (for example, put Apache in the front and have Twisted handle some subset of the virtual host).

Thanks to all for the information and the pointers! Gil On Thu, 2002-10-17 at 01:24, Moshe Zadka wrote:
On 16 Oct 2002, Gil Hauer <gilh@sympatico.ca> wrote:
I'd like one server to be able to host several web sites, hence:
Is it possible to use Twisted.web with virtual host functionality such as that provided by Apache?
Is it ever! You can decide to go with one big process for all of them, a front server and a seperate server for each virtual host (for example, for permission reasons), and you can even mix-and-math between Apache and Twisted (for example, put Apache in the front and have Twisted handle some subset of the virtual host).
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Hi again, Can you send me a pointer to some documentation that describes how to set up virtual host functionality? Thanks, Gil On Thu, 2002-10-17 at 01:24, Moshe Zadka wrote:
On 16 Oct 2002, Gil Hauer <gilh@sympatico.ca> wrote:
I'd like one server to be able to host several web sites, hence:
Is it possible to use Twisted.web with virtual host functionality such as that provided by Apache?
Is it ever! You can decide to go with one big process for all of them, a front server and a seperate server for each virtual host (for example, for permission reasons), and you can even mix-and-math between Apache and Twisted (for example, put Apache in the front and have Twisted handle some subset of the virtual host).
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On Wed, Oct 30, 2002 at 02:00:11PM -0500, Gil Hauer wrote:
Hi again,
Can you send me a pointer to some documentation that describes how to set up virtual host functionality?
This is documented in CVS Twisted. If you can't access CVS, you can find a ps/pdf version of the CVS docs here: http://twistedmatrix.com/users/moshez/book.ps.bz2 http://twistedmatrix.com/users/moshez/book.pdf Those links aren't "official" docs yet (we're still working on the script that generates them, there's a couple of glitches), but they should contain exactly the same content as the doc/howto/*.xhtml files from CVS Twisted. -Andrew.
participants (4)
-
Andrew Bennetts
-
Gil Hauer
-
Itamar Shtull-Trauring
-
Moshe Zadka