httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48377] New: mod_filter should be able to process non-200 responses
Date Fri, 11 Dec 2009 16:32:43 GMT

           Summary: mod_filter should be able to process non-200 responses
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_filter

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].  The feature request
is to make skipping non-200 responses configurable in some way.

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) {


       return ap_pass_brigade(f->next, bb);


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message