RE: [users@httpd] ext_filter blocks cookies with forward proxy

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

 



Well, the way the external filter works is this. It's just any exec program
that accepts input from stdin and writing to std out. I just changed my
filter so that it doesn't produce any output. 

> Are you sure that isn't just the default content the browser returns
> when the server returns zero-content?

And you are totally right, I am getting the same "<!DOCTYPE HTML" stuff for
all requests. So it is the default content...

> Perhaps your external filter program is crashing on these requests, 
> causing the server to return nothing.

I am not getting any error logs. :( So, there's no way to find out whether
it's crashing... I still believe that this occurs only for websites
cookies... Could this be another bug in mod_ ext_filter?...

Thank you!
Your suggesting was very useful!
Eugene.

-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua Slive
Sent: Thursday, April 20, 2006 7:33 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] ext_filter blocks cookies with forward proxy

On 4/20/06, Yevgen Borodin <borodin@xxxxxxxxxxxxx> wrote:
> Hello!
>
> I have a forward proxy that handles cookies perfectly fine.
> But as soon as I turn on an ext_filter, websites that have cookies are not
> coming through. What I am getting instead is something like this:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
> <BODY style="ZOOM: 100%"></BODY></HTML>
>
> I am trying to do some HTML transformation for proxied traffic.
> I do the transformations with an external filter. However, websites with
> cookies return the above-given example without any changes. And Websites
> without cookies are transformed as expected.
>
> I've been trying really hard to find a solution to this problem. :(

Are you sure that isn't just the default content the browser returns
when the server returns zero-content?  Perhaps your external filter
program is crashing on these requests, causing the server to return
nothing.

Joshua.

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