[Zope] VHM ques

Bakhtiar A Hamid kedai@kedai.com.my
Thu, 16 Jan 2003 14:44:13 +0800


On Thursday 16 January 2003 03:14, AM wrote:
> Hi,
>
> I have a zope install behind and apache, both of which work fine
> individually.
> In the zope instance in the root folder I have a folder called
> nbs.<domain>.com and also a VHM instance call nbs without any mappings
> in there.
>
> No as per instructions at
> http://www.zope.org/Members/regebro/Zope_and_Apache
>
> I set up my httpd.conf so:
>
> <VirtualHost *>
>     ServerAdmin webmaster@<domain>.com
>     ServerName nbs.<domain>.com
>     RewriteEngine On
>     RewriteRule ^/(.*)
> http://192.168.10.172:8080/VirtualHostBase/http/nbs.<domain>.com:80/nbs=
=2E<do
>main>.com/VirtualHostRoot/$1 [L,P]
>     ErrorLog logs/zope_error_log
>     TransferLog logs/zope_access_log
>     ProxyVia On
> </VirtualHost>
>
> However with the abovementioned section enbaled, if I hit the site
> www.<domain>.com I get a forbidden error. If it is commented out I see
> the familiar apache test page.
>
> My error logs zope_error_log:
>
> [Wed Jan 15 03:05:17 2003] [error] [client 66.121.5.66] client denied b=
y
> server configuration:
> proxy:http://192.168.10.172:8080/VirtualHostBase/http/nbs.<domain>.com:=
80/n
>bs.<domain>.com/VirtualHostRoot/ [Wed Jan 15 03:05:17 2003] [error] [cli=
ent
> 66.121.5.66] client denied by server configuration:
> proxy:http://192.168.10.172:8080/VirtualHostBase/http/nbs.<domain>.com:=
80/n
>bs.<domain>.com/VirtualHostRoot/error/HTTP_FORBIDDEN.html.var
>
> [Wed Jan 15 03:06:10 2003] [error] [client 66.121.5.66] client denied b=
y
> server configuration:
> proxy:http://192.168.10.172:8080/VirtualHostBase/http/nbs.<domain>.com:=
80/n
>bs.<domain>.com/VirtualHostRoot/ [Wed Jan 15 03:06:10 2003] [error] [cli=
ent
> 66.121.5.66] client denied by server configuration:
> proxy:http://192.168.10.172:8080/VirtualHostBase/http/nbs.<domain>.com:=
80/n
>bs.<domain>.com/VirtualHostRoot/error/HTTP_FORBIDDEN.html.var
>
> Can anybody tell me what I did wrong here??
>


i would think you need to enable proxy in apache for this to work.  note,=
 not=20
ProxyRequest On, but enable mod_proxy

hth

> The ErrorDocs section in my httpd.conf is enabled and aliased to the
> error document folder.
>
> ANy help would be greatly appreciated.
>
> TIA
> AM

--=20

=09http://www.kedai.com.my/             http://www.kedai.com.my/eZine
=09http://www.zope.org/Members/kedai    http://www.my-zope.org
=09I will follow you! Damage Inc.