[Twisted-Python] twisted.web question
![](https://secure.gravatar.com/avatar/5dffa63f0d07e6ff08f8abf5fff832fd.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/78e124bb69bcaac7a75ecfe640d02261.jpg?s=120&d=mm&r=g)
On 16 Oct 2002, Gil Hauer <gilh@sympatico.ca> wrote:
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).
![](https://secure.gravatar.com/avatar/b3407ff6ccd34c6e7c7a9fdcfba67a45.jpg?s=120&d=mm&r=g)
On Wed, Oct 30, 2002 at 02:00:11PM -0500, Gil Hauer wrote:
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.
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/78e124bb69bcaac7a75ecfe640d02261.jpg?s=120&d=mm&r=g)
On 16 Oct 2002, Gil Hauer <gilh@sympatico.ca> wrote:
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).
![](https://secure.gravatar.com/avatar/b3407ff6ccd34c6e7c7a9fdcfba67a45.jpg?s=120&d=mm&r=g)
On Wed, Oct 30, 2002 at 02:00:11PM -0500, Gil Hauer wrote:
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