Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 2396 invoked from network); 21 Oct 2009 14:57:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 14:57:33 -0000 Received: (qmail 39520 invoked by uid 500); 21 Oct 2009 14:56:55 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 39332 invoked by uid 500); 21 Oct 2009 14:56:51 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 38832 invoked by uid 99); 21 Oct 2009 14:56:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 14:56:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marcosrmendez@gmail.com designates 209.85.212.174 as permitted sender) Received: from [209.85.212.174] (HELO mail-vw0-f174.google.com) (209.85.212.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 14:56:36 +0000 Received: by vws4 with SMTP id 4so2900013vws.10 for ; Wed, 21 Oct 2009 07:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FjO5nVR0UiftOsiRYKeRwq/b4wDAP6myCsRSnk9MXKg=; b=bwp7IeW/cnDYUm5w6a+Tz+Gyj2cGGb9kVgkbTjE7q6qkXTDEcrQCwENiRPBLBcCLyj slpSvexiijVXejTOjqxJ4cSMP0GhkcPnD6Bpv6cT71gtRYYE2Eqxfihw1iy+gKGd27n/ +Aa/KwgSxngEGG3l48ceLSH6sWgGXAtAo8WHU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Um23vBGdoh4QwjbAldUgcOlJDB8R+Om+Djy25Pj1x/TyZOVkd3swn1Bo/p4BuShu+Q c+WlpC32qIvj9e7AMyCaIfqJw3+KpNyPU+5yGdpdMlRw2jtAHaQr9DFtmdf4n2ddVjWv TH1fDPWJe7KO2MNScu1rqboRktvl66EkhaLAc= MIME-Version: 1.0 Received: by 10.220.122.100 with SMTP id k36mr2527360vcr.38.1256136975112; Wed, 21 Oct 2009 07:56:15 -0700 (PDT) Date: Wed, 21 Oct 2009 10:56:15 -0400 Message-ID: <93fcb0dd0910210756g4410ba90x18ca77569759d1fe@mail.gmail.com> From: Marcos Mendez To: users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_ext_filter cmd output is garbage Hi, I'm having problem running anything other than the sample sed command used with ext_filter in the documentation (eg cmd="/bin/sed s/verdana/aria/g"). When I try to run a script (sh, bash, or php) I always get (binary) garbage in the output. Any ideas? My filters are defined as: ExtFilterDefine myfilter1 mode=output intype=text/html cmd="/usr/bin/php -f /etc/apache2/script1.php" ExtFilterDefine myfilter2 mode=output intype=text/html cmd="/bin/sh -f /etc/apache2/script2.sh" ExtFilterDefine myfilter3 mode=output intype=text/html cmd="/etc/apache2/script3.sh" Regards, Marcos --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org