You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/06/27 02:42:22 UTC
DO NOT REPLY [Bug 39902] New: - HeaderName directive breaks mod_filter somehow
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39902>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39902
Summary: HeaderName directive breaks mod_filter somehow
Product: Apache httpd-2
Version: 2.2.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_autoindex
AssignedTo: bugs@httpd.apache.org
ReportedBy: pjsg-asf@nospam.gladstonefamily.net
I have mod_autoindex and mod_filter in use.
Filter configuration:
FilterDeclare compressit
FilterProtocol compressit change=yes
FilterProvider compressit DEFLATE resp=Content-Encoding !$gzip
FilterProvider compressit DEFLATE resp=Content-Type $text/html
FilterProvider compressit DEFLATE resp=Content-Type $text/plain
FilterProvider compressit DEFLATE resp=Content-Type $text/xml
FilterProvider compressit DEFLATE resp=Content-Type $application/x-javascript
FilterChain compressit
If I have a directory with a .htaccess file that contains
HeaderName foo.html
then the directory listing is correctly displayed in the browser, *but* the
content is not compressed. If the HeaderName directive is commented out of the
.htaccess file, then the directory listing *is* compressed by the mod_filter /
mod_deflate combination.
A quick look at the code in mod_autoindex.c reveals some alarming comments in
function 'emit_head' which is where I suspect that the problem lies. I have no
idea what the fix is.......
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org