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

webmaster at zope.org webmaster at zope.org
Mon Feb 16 23:40:22 EST 2004


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

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

          Now, assuming you've got Apache running on port 80 and Zope
          running on port 8080 on your local machine, and assuming
          that you want to serve the folder named 'vhm_test' in Zope
          as 'www.example.com' and, add the following to your Apache's
          'httpd.conf' file and restart your Apache process::

            NameVirtualHost *
            <VirtualHost *>
            ServerName www.example.com
            RewriteEngine On
            RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/www.example.com:80/vhm_test/VirtualHostRoot/$1 [L,P]
            </VirtualHost>

            % Anonymous User - Nov. 9, 2003 7:35 pm:
             How about some artificial line breaks in here? On a 12-inch iBook this page is about 40% wider than the
             display, requiring much side-scrolling that reminds me of Donkey Kong on the Nintendo....

            % Anonymous User - Feb. 16, 2004 11:40 pm:
             Really? It's not a problem on a 23-inch Apple Cinema Display :)



More information about the ZDP mailing list