DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15491>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15491 A period in command produces an error in some config circumstances. Summary: A period in command produces an error in some config circumstances. Product: Apache httpd-2.0 Version: 2.0.43 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_ext_filter AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I was plating with mod_ext_filter in 2.0.43, when I noticed that a shell command with a period in its name produces an error. After playing with it some more, I came up with a test case that I can reproduce without fail. Script: ------- #!/bin/sh cat | tr a-z A-Z ------- Working Config: ------------------- # caser, caser.x, and caser.sh are all copies of the same file. ExtFilterDefine caser intype=text/html mode=output cmd=/usr/local/bin/caser ExtFilterDefine caserx intype=text/html mode=output cmd=/usr/local/bin/caser.x ExtFilterDefine caserq intype=text/html mode=output cmd="/usr/local/bin/caser.sh " ExtFilterDefine casersh intype=text/html mode=output cmd=/usr/local/bin/caser.sh <Directory /> Options FollowSymLinks AllowOverride None SetOutputFilter casersh ExtFilterOptions DebugLevel=1 </Directory> ------------------- Error-producing config: ----------------------- # caser, caser.x, and caser.sh are all copies of the same file. ExtFilterDefine caser intype=text/html mode=output cmd=/usr/local/bin/caser ExtFilterDefine caserx intype=text/html mode=output cmd=/usr/local/bin/caser.x #ExtFilterDefine caserq intype=text/html mode=output cmd="/usr/local/bin/caser.s h" ExtFilterDefine casersh intype=text/html mode=output cmd=/usr/local/bin/caser.sh <Directory /> Options FollowSymLinks AllowOverride None SetOutputFilter casersh ExtFilterOptions DebugLevel=1 </Directory> -------------------------- Note that the only change is that caserq definition is commented out. Here's the error: [Wed Dec 18 12:27:45 2002] [debug] mod_ext_filter.c(611): [client 192.168.1.105] filtering `/manual/mod/mod_ext_filter.html.en' of type `text/html' through `/usr/local/bin/caser.sh', cfg ExtFilterOptions DebugLevel=1 NoLogStderr !PreserveContentLength ExtFilterInType text/html ExtFilterOuttype (unchanged), referer: http://socrates.netilla.com/manual/filter.html [Wed Dec 18 12:27:45 2002] [error] [client 192.168.1.105] (32)Broken pipe: apr_file_write(child input), len 0, referer: http://socrates.netilla.com/manual/filter.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
