2009/9/3 Brett Delle Grazie <[email protected]>: > I've tried the sub-request mechanism of mod_rewrite (via !-U condition) > but the sub-request always returns status 200 instead of 404 (even > though the first document doesn't exist on B). > > Does anyone know if this is an existing bug with mod_rewrite or is this > expected behaviour?
Expected. The handler is not invoked in this sub-request lookup. So in fact, you can only check if the resource is accessible on server A (->access controls). Bob --------------------------------------------------------------------- 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]
