Re: mod_rewrite internal sub-request returns status 200 instead of expected 404 (mod_proxy issue?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/9/3 Brett Delle Grazie <brett.dellegrazie@xxxxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux