[Zope] rewrite rules
Daniel M. Drucker
dmd@3e.org
Thu, 3 Jun 1999 17:27:53 -0400 (EDT)
I'm very confused.
If I attempt to move an apache rewrite rule from where it's referenced
in 'startzap' (in the -c ) into conf/zap.conf, everything breaks.
(Your browser sent a request that the server couldn't understand.)
All I want to do is this:
http://myserver/ is the root of zope.
http://myserver/whatever/blah is processed by zope.
EVERYTHING is processed by zope -- except for one thing:
http://myserver/dumbuser/ which goes to /home/dumbuser/public_html/
This works fine when I have this:
-c "RewriteRule ^/Zope(.*) $dot/../Zope.cgi\$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]"
in my startzap, and this:
RewriteRule ^/dumbuser/(.*) /home/dumbuser/public_html/$1
in my zap.conf.
However, I don't want to have to use http://myserver/Zope ...
so I do this:
-c "RewriteRule ^(.*) $dot/../Zope.cgi [etc etc etc]
And then the zap.conf rewriterule stops working.
Clues?
Daniel Drucker