Setting up Apache server compression in SuSE

Skip to main content
Du bist hier:
Drucken

Setting up Apache server compression in SuSE

Setting up Apache server compression in SuSE

Under ‘/etc/sysconfig/apache2’ search for the following line:
‘APACHE_MODULES=’
add the following value
‘APACHE_MODULES= deflate’
Add the following to the file ‘/etc/apache2/default-server.conf’ under <directory>:
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/javascript application/x-javascript application/json
Then restart Apache:
/etc/init.d/apache2 restart
Related Post