[Zope] VirtualHost Monster

Granzow, Doug (NCI) granzowd@mail.nih.gov
Mon, 11 Mar 2002 16:25:44 -0500


Try:

RewriteRule ^/(.*) \
http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}/localhost/$1 [L,P]



-----Original Message-----
From: Wayne Pascoe [mailto:wayne.pascoe@ehsrealtime.com]
Sent: Monday, March 11, 2002 12:02 PM
To: zope@zope.org
Subject: [Zope] VirtualHost Monster


Hi all,

I'm trying to setup a virtual host monster to handle localhost. I've setup
the following rewrite stuff from the zope site's advice at
http://www.zope.org/Members/Jace/apache-vhm :

<VirtualHost *>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^.*:80$
    RewriteRule ^/(.*) \
http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}/$1 [L,P]
  </VirtualHost>

I also created a folder under the root folder called localhost and added a
virtual host monster to the root folder.

Going to http://localhost/ shows me the normal Zope Quickstart Page. It
doesn't display the index_html from the localhost folder.

Going to http://localhost/localhost/ does show me the index_html contents.

Any idea what I'm missing here and what needs to be done so that going to
http://localhost/something displays /something from within the localhost
folder in zope ?

TIA,

-- 
Wayne Pascoe <wayne.pascoe@ehsrealtime.com>

The price of freedom is eternal vigilance
   - Thomas Jefferson


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )