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 14451] - Content-length header incorrect with cgi and deflate combination
Date Mon, 16 Dec 2002 18:35:49 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=14451>.
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=14451

Content-length header incorrect with cgi and deflate combination





------- Additional Comments From bruno@wolff.to  2002-12-16 18:35 -------
I was able to find a configuration that avoided the problem in my
setup. I have changed things to reflect this and have removed some
of the test pages I had up.
The successful way to handle *.html URLs that were redirected to
*.cgi URLs (with internal redirects) so that the output was passed
both though INCLUDES and DEFLATE without getting the extra 20 bytes
of gzip header or messing *.html files that aren't redirected is:
AddOutputFilter INCLUDES;DEFLATE .html
AddOutputFilter DEFLATE .txt .pl .sql .cgi
AddOutputFilterByType INCLUDES text/html
This is now all being done at the top level of my document root.
Previously there was an addoutputfilter for .cgi files that only
specified DEFLATE at the top level and this was overridden in a
subdirectory (area) where cgi output was to get passed through both
INCLUDES and DEFLATE. This may be related to the problem I was having
as reduplicating the issue with the output filter directives only
at the top level doesn't seem to work.
By using the addoutputfilterbytype directive I can just do INCLUDES
processing for cgi output that returns text/html (as opposed to
text/plain) and don't need to have diferent rules in different
directories.
So, I am not completely sure what is needed to make the problem show
up. I was able to get the problem to occur with just plain html
files (no cgi script) subject to a redirect in the subdirectory.
I am asking one of my users to see if this fixes the problem with
accessing the pages with IE.

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


Mime
View raw message