[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Virtual Hosting Services

webmaster at zope.org webmaster at zope.org
Mon May 10 09:57:21 EDT 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx#3-16

---------------

        At this point, you're probably wondering just how in the world
        any of this helps you.  You're certainly not going to ask
        people to use their browser to visit a URL like
        'http://yourserver.com//VirtualHostBase/http/zope.com/vhm_test/VirtualHostRoot/'
        just so your Zope-generated URLs will be "right".  That would
        defeat the pupose of virtual hosting entirely.  The answer is:
        don't ask humans to do it, ask your computer to do it.  There
        are two common (but mutually excusive) ways to accomplish
        this: via the VirtualHostMonster *Mappings* tab and via Apache
        "rewrite rules" (or your webserver's facility to do the same
        thing if you don't use Apache).  Be warned: use either one of
        these facilities or the other but not both or very strange
        things may start to happen.  We give examples of using both
        facilities below.

          % Anonymous User - May 10, 2004 9:57 am:
           http://yourserver.com//VirtualHostBase

           should be

           http://yourserver.com/VirtualHostBase (only one slash)



More information about the ZDP mailing list