[Zope] Virtual Site Hosting

mixo mixo@beth.uniforum.org.za
Tue, 07 Aug 2001 16:17:00 +0200


I have created a folder called "test1' through the management
interface.,
which I can access by typing "lynx http://myhost:11011/test1". In
my "httpd.conf" I have
++++++++++++++++++++++++++++++++++++++++++++++++++
<VirtualHost 192.168.1.1>
  DocumentRoot /var/www/html
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteLog "/var/log/httpd/rewrite_log"
 RewriteLogLevel 0
 RewriteRule ^/local/ - [L]
 RewriteRule ^/(.*) http://myhost:11011/test1/$1 [P]
 </IfModule>
</VirtualHost>
+++++++++++++++++++++++++++++++++++++++++++++++++



Whenever I try to acces "192.168.1.1" I get the following error in my
log file:
++++++++++++++++++++++++++++++++++++++++++++++++++++
[Tue Aug  7 15:33:18 2001] [error] [client 192.168.1.1] attempt to make
remote request from mod_rewrite without proxy enabled:
proxy:http://rmyhost:11011/test1/
++++++++++++++++++++++++++++++++++++++++++++++++++++

And I get the following through a browser:
++++++++++++++++++++++++++++++++++++++++++++++++++++
                                                                  403
Forbidden

                                   Forbidden

   You don't have permission to access / on this server.
     _________________________________________________________________

++++++++++++++++++++++++++++++++++++++++++++++++++++



What can I do to get around this?

Mixo Shiburi

P.S I am running Zope 2.5-6 and Apache 1.3-19 on Redhat linux 7.1
(kernel 2.4.x)