httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Sebenik <cr...@netapp.com>
Subject problem with filters and dynamic content
Date Sat, 29 Jun 2002 00:00:19 GMT
I am having a problem using an output filter with "dynamic" data returned
from a proxy.

The relevant pieces of the config;

<location /SERVER/>
    ProxyPass        http://some-server/
    ProxyPassReverse http://some-server/
    SetOutputFilter filter-out
    ExtFilterOptions DebugLevel=9
</location>

I have a static file and a CGI. The CGI does not return the same headers
as the static file:


static file:

200 OK
Connection: close
Date: Fri, 28 Jun 2002 23:38:59 GMT
Accept-Ranges: bytes
Server: Apache/1.3.22 (Unix) AxKit/1.5 mod_perl/1.26 mod_ssl/2.8.5 OpenSSL/0.9.6a
Content-Length: 9451
Content-Type: text/html; charset=ISO-8859-1
ETag: "b547-22f-3d1cf32c"
Last-Modified: Fri, 28 Jun 2002 23:37:16 GMT
Client-Date: Fri, 28 Jun 2002 23:38:30 GMT
Client-Peer: 10.10.20.140:80


CGI:

200 OK
Connection: close
Date: Fri, 28 Jun 2002 23:40:05 GMT
Server: Apache/1.3.22 (Unix) AxKit/1.5 mod_perl/1.26 mod_ssl/2.8.5 OpenSSL/0.9.6a
Content-Type: text/html; charset=ISO-8859-1
Client-Date: Fri, 28 Jun 2002 23:39:35 GMT
Client-Peer: 10.10.20.140:80


(Remember, this is being passed thru a proxy, apache 2.0.39, which then
applies the filter.)

The filter works for the static page but does not work for the CGI.

Is it the fact that the "content-length" is missing? Or maybe the "ETag"?

How can I fix this? (I need the filter to be applied to the output from
the CGI on the back-end server.)

Altering the CGI is not possible. (For a lot of reasons that I won't go
into.)


TIA!

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message