[SOLVED][Drupal Boost] Users unable to access the site and get option to download gzipped version of site

| | 1 min read

Many Drupal users using Boost were complaining that the users were unable to access their site and were instead give the option to get a gzipped version of the site. If you are facing the same scenario in your Drupal site which uses Boost then read on to find out the solution.

Here is the fix

  • This scenario usually occurs after you have changed your .htaccess rules
  • The user facing this issue confirmed that added the following lines after #BOOST start helped in solving the problem
    <IfModule mod_mime.c>
        AddCharset utf-8 .html
        AddCharset utf-8 .json
        AddEncoding gzip .gz
      </IfModule>
      <FilesMatch "(\.html|\.html\.gz)$">
        ForceType text/html
      </FilesMatch>
      <FilesMatch "(\.json|\.json\.gz)$">
        ForceType text/javascript
      </FilesMatch></code></pre>

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.

Reference: http://drupal.org/node/1008534