You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/12/11 17:32:43 UTC

DO NOT REPLY [Bug 48377] New: mod_filter should be able to process non-200 responses

https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

           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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ash@huntwork.net


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.

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

   }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48377] mod_filter should be able to process non-200 responses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

Andrew Huntwork <as...@huntwork.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@webthing.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48377] mod_filter should be able to process non-200 responses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> 2011-09-17 16:05:39 UTC ---
r963431 / 2.2.16

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48377] mod_filter should be able to process non-200 responses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|nick@webthing.com           |

--- Comment #1 from Nick Kew <ni...@webthing.com> 2009-12-11 09:26:01 UTC ---
DON'T add people (other than yourself) to interest lists!

I know this follows a discussion on the users@ list where I had suggested
recording your request in bugzilla.  That doesn't mean I want to be added (and
end up getting any relevant mails twice over).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48377] mod_filter should be able to process non-200 responses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #2 from Nick Kew <ni...@webthing.com> 2009-12-26 17:49:40 UTC ---
Fixed in trunk in r894041

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 48377] mod_filter should be able to process non-200 responses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48377

John Moylan <jo...@nuatech.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@nuatech.net

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org