Re: mod_ext_filter cmd output is garbage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcos Mendez wrote:
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"

Not that we question your script-writing abilities, but it is a bit difficult to figure out what happens without actually seeing any of these scripts.
Can you create a simple one, try it and show it here ?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux