I think I may have missed something, so can I ask if someone can explain
where I've gone wrong.

I have the lines:

RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 3

<LocationMatch "^/zope$" >
    RewriteEngine On
    RewriteRule "^/zope$" http://SERVER.NETWORK/zope/ [R]
</LocationMatch>

To try to redirect request for the url /zope to /zope/.  This is needed
because the zope server doesn't add the trailing '/' on the urls.

These are the only rewrite rules in the config.

It isn't working.  I get a 404 instead of the site.

I get the following in the Rewrite.Log:

192.168.xxx.yyy - - [03/Sep/2005:11:24:47 +0100]
[SERVER.NETWORK/sid#80beb20][rid#865d0a8/initial] (3) [per-dir ^/zope$/]
applying pattern '^/zope$' to uri '/var/www/zope'
192.168.xxx.yyy - - [03/Sep/2005:11:24:47 +0100]
[SERVER.NETWORK/sid#80beb20][rid#865d0a8/initial] (1) [per-dir ^/zope$/]
pass through /var/www/zope

Now this seems a bit whacky to me, as it looks as if Apache2 is trying to
apply the rewite which should be URI based, to a directory which doesn't
exist.

Is my interpretation correct?  Am I right in thinking this is wrong?

I'm running Apache2 v 2.0.54 on Debian Linux 3.1 (stable), kernel
2.4.27-2-686.

Thanks
David




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to