[Zope] Rewriting URLs - Call for precisions.

Dieter Maurer dieter at handshake.de
Sat Feb 7 13:49:01 EST 2004


andre wrote at 2004-2-7 12:19 -0400:
> ...
>A Folder with id 'demosite' added at Zope root and containing the 
>autogenerated index_html object
>A VHM with id 'VHM' added at Zope root,
>
>a host created in Windows etc/hosts file
>127.0.0.1   www.example.com
>
>Apache :
>
>Apache 2.0.48 httpd.conf configured with the following
>
>NameVirtualHost *
><VirtualHost *>
>ServerName www.example.com
>RewriteEngine On
>RewriteRule ^/(.*) 
>http://127.0.0.1:8080/VirtualHostBase/http/www.example.com/demosite/VirtualHostRoot/$1 
>
></VirtualHost>

Your rewrite rule lacks a trailing "[P]".

Lacking this "[P]", Apache apparently has treated it as a
"redirect". That's why you see this URL in your browser.

-- 
Dieter



More information about the Zope mailing list