If you are running a VPS/dedi with apache you might need to do this to enable the mod:
PHP Code: 
a2enmod deflate 


The code in the opening post needs to be added in your .htaccess file btw