httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yevgen Borodin" <boro...@cs.sunysb.edu>
Subject RE: [users@httpd] ext_filter blocks cookies with forward proxy
Date Fri, 21 Apr 2006 00:41:37 GMT
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@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive
Sent: Thursday, April 20, 2006 7:33 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] ext_filter blocks cookies with forward proxy

On 4/20/06, Yevgen Borodin <borodin@cs.sunysb.edu> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message