How do i enable deflate on apache2? debian
- by acidzombie24
I looked at the other answers and those solutions did not help.
I am completely confused how to do this. I know almost nothing about apache nor how to use it and nearly all the article say write this but doesnt tell me where.
So far i have done this
# a2enmod deflate
Module deflate already enabled
Then i tried writing this in httpd.conf
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
Then i wrote a longer version which involved deflate.c. After those didnt work i deleted them all and wrote the AddOutputFilterByType line in apache2/sites-enabled/000-default inside of
I used this to test http://www.whatsmyip.org/http_compression/
everytime it says no compression. I used another site but i could never compress. Also i restart the server everytime i save a file so what could be the problem and how do i enable this properly?