httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Ionescu <bobsie...@googlemail.com>
Subject Re: [users@httpd] mod_rewrite internal sub-request returns status 200 instead of expected 404 (mod_proxy issue?)
Date Thu, 03 Sep 2009 19:46:02 GMT
2009/9/3 Brett Delle Grazie <brett.dellegrazie@intact-is.com>:
> 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message