• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Unable to enable gzip compression

Change Maker

Basic Pleskian
Hi.
I've got WP optimise setup on the domain of my server.
I want to enable GZIP server wide using SSH as advised on the Plesk Forum. HERE
I've done all the checks and followed the instructions and I am receiving this message from the Plugin.
We successfully added Gzip compression settings into .htaccess file. However, the test file we fetched was not Gzip-compressed. Possible causes include that Apache (your webserver) is not configured to allow .htaccess files to take effect, or one of Apache modules - mod_filter or mod_deflate - is not active, or the webserver is configured to disallow Gzip compression. You should speak to your web hosting support to find how to enable it.
The only error I get using SSH is this, and it may be the reason why I can't get GZIP enabled.
[root@server ~]# grep -ir "mod_filter.so" /etc/httpd/conf.modules.d/00-base.conf
LoadModule filter_module modules/mod_filter.so
[root@server ~]# LoadModule filter_module modules/mod_filter.so
-bash: LoadModule: command not found
However, now I don't know what else I can do, so that the filter module is found. It's definitely enabled on the Server

Any ideas?
 
Code:
LoadModule filter_module modules/mod_filter.so
[root@server ~]# LoadModule filter_module modules/mod_filter.so
-bash: LoadModule: command not found

If you mean step 5 from instruction, that line

LoadModule filter_module modules/mod_filter.so

is not a command that should be run, but the expected output of the command

# grep -ir "mod_filter.so" /etc/httpd/conf.modules.d/00-base.conf

So, I'd suggest you use Enabling per-domain using Plesk interface instruction if you are not familiar with the Linux command line.
 
Thanks Peter. The plugin decided to do some test file, so I don't know what that is.
However I did it using this solution.
I did it server wide using SSH and created a GZip Conf.d file in nginx.
Thanks for everyone's assistance though
What a great place and with helpful folks responding quickly.
Glad to be engaged here.
 
You might want to consider using BROTLI, which is the successor of Gzip. It's enabled by default in Plesk unless Gzip is active and offers a higher compression rate.


You can check if it's active with this site:

 
Back
Top