[Zope] How to map with Virtual Host Monster

Paul Winkler pw_lists at slinkp.com
Thu Dec 18 09:55:53 EST 2003


On Thu, Dec 18, 2003 at 12:50:27PM +0000, Gilberto Pereira wrote:
> Try this instead in the mappings tab:
> www.example.com:80/vhm_test
> 
> It should work, since port 80 is the http default port number.

Well, *something* has to be running on port 80 for that to work. 
You can't magically bind to a port just by configuring vhm...  

either run zope behind another webserver that runs on port 80
(recommended); 

or set up port forwarding on your firewall so that traffic to port 
80 gets sent to zope on 8080 (this doesn't work for clients on 
localhost); 

or start zope as root with the -u flag and run it directly on port 
80 (blech).*

* blech because it doesn't work at all with ZEO, and because 
starting as root seems unnecessarily foolhardy given that there
are other perfectly good solutions.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE PEAR!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list