On Wed, 7 Feb 2001, Ron Bickers wrote:
As far as I understand VirtualHostMonster, it can create a virtual host only for root on www.foo.com. That is I can redirect http://www.foo.com/ to /VirtualHostBase/http/www.foo.com/vhosts/foo/VirtualHostRoot/. But what if I want to make www.foo.com static site under Apache but redirect a directory (location, actually) to Zope? For exampl, I want www.foo.com to be a static site, but serve www.foo.com/Zope from Zope. It seems VirtualHostMonster cannot do this, and I need to go back to SiteAccess.
You can do this by redirecting all requests under /Zope to /VirtualHostBase/http/www.foo.com/vhosts/foo/VirtualHostRoot/Zope
Interesting things to try. Do you beleive VirtualHostMonster will correctly strip /Zope from PATH_INFO and append it to paths (base, URLn and absolute_url)?
Under Apache with FastCGI, something like this:
I use mod_pcgi2, just the best modu... oops, sorry, shameless plug :) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.