• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Unable to enable gzip compression

  • Thread starter Deleted member 190352
  • Start date
D

Deleted member 190352

Guest
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:

 
Will look out later for it. Thanks. Not Sure how to and if, I should close this post, but we're good now.
 
Back
Top