Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1289

mod_ext_filter test failure

XMLWordPrintable

    • False
    • None
    • False

      error_log

      [Tue Mar 22 09:51:40.022898 2022] [ext_filter:trace1] [pid 5092:tid 3752] mod_ext_filter.c(623): [client 127.0.0.1:49837] filtering `/extfiltertest/hello.txt.crap' of type `text/plain' through `C:/Windows/System32/find.exe', cfg ExtFilterOptions NoLogStderr !PreserveContentLength ExtFilterInType text/plain ExtFilterOuttype text/plain
      [Tue Mar 22 09:51:40.022898 2022] [ext_filter:error] [pid 5092:tid 3752] (22)Invalid argument: [client 127.0.0.1:49837] AH01465: apr_file_pipe_timeout_set(child output)
      [Tue Mar 22 09:51:40.023737 2022] [ext_filter:error] [pid 5092:tid 3752] (22)Invalid argument: [client 127.0.0.1:49837] AH01468: ef_unified_filter() failed
      

      configuration used:

      ExtFilterDefine crapdenied mode=output \
          intype=text/plain outtype=text/plain \
          cmd="C:/Windows/System32/find.exe \"crap\""
      
      <Location /extfiltertest>
      # core directive to cause the new filter to
      # be run on output
      SetOutputFilter crapdenied
      
      # mod_mime directive to set the type of .txt.crap
      # files to text/plain
      AddType text/plain .txt.crap
      
      # mod_ext_filter directive to set the debug
      # level just high enough to see a log message
      # per request showing the configuration in force
      
      # NOTICE: mod_ext_filter in httpd 2.4 doesn't have option DebugLevel
      # ExtFilterOptions DebugLevel=1
      </Location>
      

              rhn-engineering-mturk Mladen Turk
              plodge Paul Lodge
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: