![]() |
Double Gzip?
I have drupal site with Boost module for gzip file css,js config in .htaccess.
Quote:
�������=ks http_://174.120.219.172/ I turn off gzip on webadmin LS but not soldve this pbl.Anyone help me?:(.I just want config gzip inside my drupal,not by server. |
This .htaccess working good on apache...
|
I studied this case, has some progress.
access: http_://174.120.219.172/ same output as said: �������=ks http_://174.120.219.172/?xxx can see some normal output but not all. checking .js and .css files, they are in gzip format, there's the cause why the page not display correctly. comparing with output of normal .js and .css file in firebug, there is a "Content-Encoding: gzip" in response headers. so you compress the .js and .css files yourself, but not give "Content-Encoding: gzip" header at the same time. so you may try to add this header for the compressed .css and .js files, see if resolve the issue. |
Thanks...I've added some config of my .htaccess file...
When remove this: Quote:
|
I did some tests, this may work for your special purpose: add
Code:
<FilesMatch "(\.html\.gz|\.json\.gz)$"> |
Quote:
Quote:
|
do not remove #GZIP part. just add.
it's not difficult and no hurt to try with or without #GZIP rules. Please share the test result. |
| All times are GMT -7. The time now is 02:48 AM. |