httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11978] - Output filter not working with ie but with netscape
Date Sat, 02 Nov 2002 22:42:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11978>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11978

Output filter not working with ie but with netscape

sebastian.wolfgarten@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Version|2.0.40                      |2.0.43



------- Additional Comments From sebastian.wolfgarten@gmx.net  2002-11-02 22:42 -------
Hello,

I installed the latest apache 2.0.43 and ran my self-written
output filter again. The result is still the same, the
output filter works fine with netscape 6.2 but not with ie 6.0 sp1.
Actually it converts data on the fly into pdf documents which
really on netscape but ie just gives a blank page back. The output filter
shell script looks like this:
#!/bin/sh

/usr/local/a2ps-4.13/bin/a2ps -q -o - | /usr/local/ghostscript-
7.05/bin/ps2pdfwr -

In my httpd.conf I have activated this filter by using the following 
configuration:
ExtFilterDefine pdfwriter mode=output intype=text/html outtype=application/pdf 
cmd="/usr/local/apache2.0.43/bin/pdfwrite.sh"
<Files *.html>
    ExtFilterOptions LogStderr DebugLevel=9
    SetOutputFilter pdfwriter
</Files>

I also tried to play around with the outtype but this did not change anything.
This is written into error_log when I open a .html file using netscape AND ie:
[Sat Nov 02 23:40:18 2002] [debug] mod_ext_filter.c(611): [client 192.168.0.21] 
filtering `/index.html' of type `application/pdf' through 
`/usr/local/apache2.0.43/bin/pdfwrite.sh', cfg ExtFilterOptions DebugLevel=9 
LogStderr !PreserveContentLength ExtFilterInType text/html ExtFilterOuttype 
application/pdf
[Sat Nov 02 23:40:18 2002] [debug] mod_ext_filter.c(808): [client 192.168.0.21] 
apr_file_read(child output), len 1536
[Sat Nov 02 23:40:18 2002] [debug] mod_ext_filter.c(808): [client 192.168.0.21] 
apr_file_read(child output), len 478
[Sat Nov 02 23:40:18 2002] [debug] mod_ext_filter.c(808): [client 192.168.0.21] 
apr_file_read(child output), len 2012
[Sat Nov 02 23:40:18 2002] [debug] mod_ext_filter.c(808): [client 192.168.0.21] 
(70014)End of file found: apr_file_read(child output), len -1

Interesting enough the filter does not get invoking by ie when I shutdown the 
server, start it again and request the file with ie. I *have* to modify the 
size of the document (e.g. by adding some text) I want to request and do the 
request again - only then is the output filter activated again (when using ie). 
When I use netscape I don't have this problem and I also tried to play around 
with ie caching mechanism but this did not change anything...

Do you need more information, can I help more by providing other maybe more 
appropriate information?

Bye and thanks,
Sebastian Wolfgarten

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


Mime
View raw message