Virtual Site Hosting
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)
On Tue, Aug 07, 2001 at 04:17:00PM +0200, mixo wrote:
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/ ++++++++++++++++++++++++++++++++++++++++++++++++++++
You have both mod_proxy *and* mod_rewrite enabled in your Apache config? http://www.zope.org/Members/mwr/VHosts_With_Zope_Default has my setup. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Mike Renfro -
mixo