質問

I want to enable gzip for compression and I have tried many blocks of code. Unfortunately, nothing works. The server that my host is using is apache-tomcat. Do they use different code for enabling gzip or deflate? I only have access to .htaccess. Can someone please post the proper code for enabling gzip (or deflate) on apache-tomcat?

役に立ちましたか?

解決

There is no .htaccess in Tomcat. This file belongs to the Apache Web Server. GZIP compression can be enabled in the HTTP connector. Your question is for serverfault and not stackoverflow.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top