[Zope] - Serving Zope...

Andreas Kostyrka andreas@ag.or.at
Wed, 16 Dec 1998 23:22:52 +0100 (CET)


On Wed, 16 Dec 1998, Andy Smith wrote:

> 
> Cool! How difficult was it to get set up?!
Basically if providing a whole VirtualHost via Bobo:
RewriteRule ^/(.*)	http://127.0.0.1:5000/$1 [P]

Say the VirtualHost is called: https://www.somewhere.com/
Than you would activate the BoboHTTPServer with:
BoboHTTPServer.py -p 5000 -b 127.0.0.1 -n / -s -h www.somewhere.com <mymodule>

This tells BoboHTTPServer to:
-) use port 5000
-) bind only to 127.0.0.1
-) assume the real path is /
-) assume it's being accessed via SSL.
-) assume the real hostname is www.somewhere.com
-) publish <mymodule>

> 
> This'd be a really useful addition to ZopeHTTPServer's 'toolbox'.
ZopeHTTPServer at the moment to my knowledge doesn't contain the necessary
patches to make this work fluidly :( Bugger Amos ;)

Andreas
-- 
Win95: n., A huge annoying boot virus that causes random spontaneous system
     crashes, usually just before saving a massive project.  Easily cured by
     UNIX.  See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.