[Zope] VirtualHost Monster

Wayne Pascoe wayne.pascoe@ehsrealtime.com
Mon, 11 Mar 2002 17:02:18 +0000


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