I'm trying to use mod_filter (specifically mod_substitute) on non-200
responses, specifically with a 404 response.  After playing around for
a while and assuming that i had screwed something up, i discovered
that mod_filter specifically skips non-200 responses [1].  Is there an
important reason for skipping such responses?  would a patch to make
skipping such responses configurable be accepted into the main distro
if i wrote it?

thanks,

andy

1.
static apr_status_t filter_harness(ap_filter_t *f, apr_bucket_brigade *bb)

{

    apr_status_t ret;

    const char *cachecontrol;

    char *str;

    harness_ctx *ctx = f->ctx;

    ap_filter_rec_t *filter = f->frec;



    if (f->r->status != 200) {

        ap_remove_output_filter(f);

        return ap_pass_brigade(f->next, bb);

    }

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to