Do I understand this correctly?
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? More to the point, is it correct to say that VHM is worthless without such a priori URL manipulation? 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? -- Mike
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)
Hi Michael, Have you read this: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx - C On Mon, 2003-10-06 at 11:28, 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? More to the point, is it correct to say that VHM is worthless without such a priori URL manipulation?
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?
-- Mike
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Virtual Host Monster is really simple. Just add one instance, read the about section, go to Mappings and add www.mydomain.com/mydirectory in order to map domain mydomain on mydirectory Douwe Osinga http://douweosinga.com
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Tiller, Michael (M.M.) Sent: Monday, October 06, 2003 5:28 PM To: 'zope@zope.org' Subject: [Zope] Do I understand this correctly?
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? More to the point, is it correct to say that VHM is worthless without such a priori URL manipulation?
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?
-- Mike
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Chris McDonough -
Douwe Osinga -
Paul Winkler -
Tiller, Michael (M.M.)