Forum Moderators: phranque

Message Too Old, No Replies

mod deflate together with mod rewrite?

         

saigon

10:54 am on Dec 30, 2006 (gmt 0)

10+ Year Member



Hello,
I have the same problem as discussed in this thread:
[webmasterworld.com...]
would you have any ideas to solve this?

with the following simple configuration:

SetOutputFilter DEFLATE
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^deflate\.html$ /deflate.php [QSA,L]

and with switch on debugging for mod_deflate,
I am recieving the following log:

"GET /deflate.php HTTP/1.1" 200 12/47 (25%)
"GET /deflate.html HTTP/1.1" 200 -/- (-%)

So unfortunatelly, the requests which are processed through mod_rewrite are not handled correctly any more by mod_deflate.
I played with order of directives and modues loading, but no success and no idea how to fix it.

Any help would be appreciated :-)

jdMorgan

4:16 pm on Dec 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you're on Apache 1.x be aware that the order of module execution is the *reverse* of their order in the LoadModule list: Modules listed first will execute last. On Apache 2.x, module execution order is controlled by an internal priority scheme, and not by the LoadModule list.

Hopefully, someone who knows more about mod_deflate will step in here with a better answer...

Jim