[Zope] Rewriting URLs - Call for precisions.
John Poltorak
jp at warpix.org
Sat Feb 7 15:39:54 EST 2004
On Sat, Feb 07, 2004 at 07:49:01PM +0100, Dieter Maurer wrote:
> 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.
When I add [P] I get a 403 Forbidden error.
> --
> Dieter
--
John
More information about the Zope
mailing list