Brian Degenhardt wrote:

> One thing to note about doing subrequests of proxied content in your own
> modules is that you can't get the remote status unless you fully execute the
> request.  Therefore, if the remote server gives you a 404 error page, that's
> what mod_include is gonna serve in place of your include statement.

Hmmm - perhaps the solution is to make mod_include look at the response
returned before inserting the entity - and optionally dump the entity
depending on the error.

All mod_proxy does with the entity is send it as a bucket brigade up the
filter stack. It's up to mod_include to decide what should be done with
the brigade - it can quite easily throw it away if configured to do so.

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."


Reply via email to