Re: is mod_ext_filter supposed to work with mod_proxy?

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

 



Hi,

I had to create two filters, one for text/html and one for text/plain
and use SetOutputFilter for both. :)

Thanks!


On Mon, Oct 19, 2009 at 6:14 PM, Marcos Mendez <marcosrmendez@xxxxxxxxx> wrote:
> Hi Eric,
>
> Sorry. I mispoke. The filter is working, but it seems to be ignoring
> the html content. I'm using intype=text/html.
>
> Regards,
>
> Marcos
>
> On Mon, Oct 19, 2009 at 5:54 PM, Marcos Mendez <marcosrmendez@xxxxxxxxx> wrote:
>> Hi Eric,
>>
>> I did a full stop and start of apache instead of restart. It works! Thanks!
>>
>> On Mon, Oct 19, 2009 at 12:47 PM, Eric Covener <covener@xxxxxxxxx> wrote:
>>> On Mon, Oct 19, 2009 at 12:39 PM, Marcos Mendez <marcosrmendez@xxxxxxxxx> wrote:
>>>> Hi Eric, thanks for the quick response. So then I must be doing
>>>> something wrong. Does this look right? I'm testing a simple filter
>>>> that rewrites some text. Through the proxy, this html
>>>> (http://skyblender.com/index.html) should show two "arial" instead of
>>>> just one.
>>>>
>>>> --- proxy.conf ----
>>>>
>>>> ExtFilterDefine my-filter mode=output intype=text/html cmd="/bin/sed
>>>> s/verdana/arial/g"
>>>>
>>>> <IfModule mod_proxy.c>
>>>>       ProxyRequests On
>>>>       <Proxy *>
>>>>               AddDefaultCharset off
>>>>               Order allow,deny
>>>>               Allow from all
>>>>               SetOutputFilter my-filter
>>>>       </Proxy>
>>>>       ProxyVia Off
>>>> </IfModule>
>>>
>>> No time to play with it here, but can you confirm that
>>> SetOutputFilter works in a Proxy block?    You can also turn on extra
>>> extfilter debugging.
>>>
>>>
>>> --
>>> Eric Covener
>>> covener@xxxxxxxxx
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>

---------------------------------------------------------------------
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