Bug 51107 - SetOutputFilter and SetInputFilter should allow "none" to disable output filter
Summary: SetOutputFilter and SetInputFilter should allow "none" to disable output filter
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 09:41 UTC by Mathieu Parent
Modified: 2011-04-22 09:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Parent 2011-04-22 09:41:42 UTC
Example config :
<VirtualHost *:80>
  # ...
  # (standard stuff)
  # ...


  SetOutputFilter proxy-html

  <LocationMatch \.png$>
    SetOutputFilter none
  </LocationMatch>
</VirtualHost>

Currently, this produce the following message :
  [error] an unknown filter was not added: none

Could the error message be avoided?

(I know mod_filter is the recommanded way, but the configuration is harder)

NB: see also #14335