[Zope] Virtual hosting with ZServer
Martijn Pieters
mj@antraciet.nl
Tue, 09 Nov 1999 12:09:53 +0100
At 11:45 09/11/99 , Francois-Regis CHALAOUX wrote:
>And what do you think about that :
>http://www.egroups.com/group/medusa/67.html?
I wasn't aware of that module, as it is not included in the Zope
distribution. You could try and see if it works of course. It looks like
you could change lines 429 and 430 to:
zh = zhttp_handler(MODULE, '', HTTP_ENV)
vh = virtual_handler.virtual_handler_with_host(zh,
'www.yourhost.com')
hs.install_handler(vh)
But as I don't have the virtual_host.py module, and I therefore didn't test
this, YMMV.
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------