[Zope] Virtual Host Monster

Fernando Correia Martins fcorreia@epo.org
Tue, 03 Jun 2003 20:55:30 +0200


I've setup a virtual host in Apache and a VHM in Zope according to the
instructions at

http://www.zope.org/Members/regebro/Zope_and_Apache

However, when I request ckt.internal.epo.org, I get the Apache welcome
page rather than my Zope page (localhost:8080/CKT/)

This is what I added to httpd.conf

<VirtualHost *>
ServerName ckt.internal.epo.org
RewriteEngine on
RewriteRule ^/(.*)
http://127.0.0.1:8080/VirtualHostBase/http/ckt.internal.epo.o
rg:80/CKT/VirtualHostRoot/$1 [L,P]
ProxyVia on
</VirtualHost>

After reloading, running httpd -S gives me:

*:80                   is a NameVirtualHost
                       default server ckt.internal.epo.org
(/etc/httpd/httpd.conf:1358)
                       port 80 namevhost ckt.internal.epo.org
(/etc/httpd/httpd.conf:1358)


The rewrite and proxy modules are (I believe) being loaded dynamicaly.
Apache 1.3.27 on Suse 8.2. VHM id is VHost without any mapping. I've
also restarted Zope and did httpd reload.

It seems like the Apache VirtualHost is not being "activated" or the
RewriteRule is being ignored??

Can you see a problem with my configuration or at least help me better
identify the problem?

Regards,
Fernando