I haven't seen a reply to this... ZopeHTTPServer (or ZServer, which is replacing it) certainly doesn't seem to have any support for virtual domains. However... they bind to the wildcard address (listening to all addresses on a box), so there's no reason you couldn't do _some_ sort of switching based on the IP, using the Host header from the request in your DTML. cc'ing in zope-dev here: Hm hm hm. I wonder if it would be worth adding a hook to ZServer, to make it look for a Host: header, and prepend something to the request URL it passes to zope? Eg. hostmap = { 'www.zope.org': '/Zopesite/', 'www.elvis.com': '/elvis/' } thoughts? (anyone know if ZServer will appear in public CVS anytime soon?) Anthony
Daren Sefcik wrote Can the Zope server provide virtual domains or do I need to use Apache?? Right now I have Apache set up with 4 virtual domains and would rather just use the default Zope httpserver.
Daren
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
At 14:39 01/04/99 , Anthony Baxter wrote:
(anyone know if ZServer will appear in public CVS anytime soon?)
It allready is: http://www.zope.org/cgi-bin/cvsweb.cgi/Publishers/ZServer/ -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Anthony Baxter -
Martijn Pieters