On Mon, Oct 06, 2003 at 11:28:12AM -0400, Tiller, Michael (M.M.) wrote:
I've been trying to understand how to setup virtual hosting and I have a few simple questions...
1) After reading the VHM documentation (that you can access when you create an instance of a VHM) that the VHM mechanism relies on something upstream (e.g. Apache) rewriting the URL to include this structure that VHM talks about?
that's a very common way to use it...
More to the point, is it correct to say that VHM is worthless without such a priori URL manipulation?
No. Read the VHM documentation again, specifically the stuff about the "Mappings" tab and "standalone" zope.
2) It seems like access rules are sufficient for what I want to do (host different sites from a single Zope server, each with their own directories). However, when I tried to use the simple example from Zope.org at http://zope.org/Members/4am/SiteAccess2/vhosting, I couldn't get even the simple DTML Method code in Example 2 to work. It just didn't seem to do anything. Is that example current with the site access and access rule functionality in Zope-2.6.2?
I think that document is pretty old. Most people use VHM these days. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's UNFORTUNATE STALKER STRANGE! (random hero from isometric.spaceninja.com)