ext_filter module only works with wget/curl - not in browsers

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

 



Hello

I think I have a very strange problem. I'm trying to use ext_filter to
rewrite some contenton the fly from apache.

On this page: http://sn.im/veg7c I have a simple html file containing
the word "Bummer", I then have the following lines in my apache config
file:

    ExtFilterDefine fixtext mode=output cmd="/bin/sed s/Bummer/It\ works/g"
    SetOutputFilter fixtext

And as you can see it works fine.

On the other hand, I also host this page: http://sn.im/v3luh , and
here I have these lines in my configuration:

    ExtFilterDefine fixtext mode=output cmd="/bin/sed s/2011\ P/2012\ P/g"
    SetOutputFilter fixtext

This should replace "2011 P" with "2012 P" (just for testing). If you
visit the page you can see this should be the case in the far right
bottom corner (scroll all the way down). But if you are viewing the
page in your browser this will (as far as I know) not be the case.
However, if you use a command line tool like wget or curl it works
just fine. You can also try using a proxy like hidemyass.com and it
will also work great.

I am quite lost here because I have no idea what is going on.

Can anyone help me?

best regards

Arvid Böttiger

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