How do I enable mod_deflate for PHP files?

后端 未结 6 1736
鱼传尺愫
鱼传尺愫 2021-01-21 17:17

I have a Liquid Web VPS account, I\'ve made sure that mod_deflate is installed and running/active.

I used to gzip my css and js files via PHP, as well as my PHP files th

6条回答
  •  不思量自难忘°
    2021-01-21 17:37

    You need to move your mod_deflate directives outside Directory section. Define your rules globally for mod_deflate in your httpd.conf

提交回复
热议问题