httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Lobato <>
Subject [users@httpd] rewrite and InputFilter DEFLATE
Date Sun, 09 Nov 2014 14:04:33 GMT

I`m digging with this problem for a while and couldn`t find references
in lists or searches.

In Apache 2.4.7 I`m using "InputFilter DEFLATE" to inflate gzipped
requests (as documented in and it
works great. But a simple rewrite:

RewriteRule ^.*$ index.php [NC,L]

makes the inflate stop to work, index.php receives the body still
gzipped. If I comment the line above and point my request directly to
index.php the inflation works again.

I`ve debugged modules/filters/mod_deflate.c and it is aborting
inflation on line 1036, when checking body size:

/* zero length body? step aside */
bkt = APR_BRIGADE_FIRST(ctx->bb);
if (APR_BUCKET_IS_EOS(bkt)) {
    return ap_get_brigade(f->next, bb, mode, block, read bytes);

I`m really not aware of any causes for mod_rewrite to be incompatible
to mod_deflate. Inflating before or after the rewrite engine I think
it should work.

Do you have any pointer to understand this issue?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message