Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following 3 rules at /.htaccess

AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript 
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component

All of those mime types get served deflated except website home page which is text/html... Website:

Any suggestions?

share|improve this question
You can answer your question and accept it later. See this blog post:… – splattne Jul 18 '11 at 14:51

According to your 2 index pages and are served gzip. So for now I do not see where is the problem ?

In case you need to conserve some resources on your server I suggest to stop using .htaccess file and move it's content in the main config file.

share|improve this answer
Well, I have fixed the problem in the meanwhile. That's why they are gzipped now. The problem was in php zlib library, but I didn't know how to close this question. ): – aLfa Nov 28 '10 at 16:58
up vote 0 down vote accepted

As I said in a comment before, the problem was in PHP.

share|improve this answer
Can you provide some information that might help the next person to encounter this problem (What was the problem? *How did you fix it?)? – voretaq7 Nov 9 '11 at 18:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.