[Zope] Rewrite problem
Dieter Maurer
dieter at handshake.de
Fri May 14 15:11:33 EDT 2004
Sam Bright wrote at 2004-5-13 21:03 -0800:
> ...
>RewriteRule ^/(.*)
>http://127.0.0.1:8080/VirtualHostBase/http/myservername:80/blog/VirtualHostRoot/_vh_blog/$1
>[L,P]
The rule above is too complex (and does not what you want as others already
pointed out).
A better one:
RewriteRule ^/blog/.* http://127.0.0.1:8080/VirtualHostBase/http/myservername:80/VirtualHostRoot$0
></VirtualHost>
>Whenever I try to access my server I get:
>
>Forbidden
>You don't have permission to access / on this server.
This error message does not come from your VHost.
Almost surely, you VHost definition was not recognized.
"httpd" has an option to verify VHost definitions.
--
Dieter
More information about the Zope
mailing list