Tutorials • Webuzo
Enabling gzip compression in the Webuzo control panel
This tutorial describes the steps necessary to activate the gzip compression module in the Webuzo control panel using the .htaccess file.
Views 543Updated 10 luniPublished on 05/06/2018by Sebastian Szlivka
Introduction
- The Webuzo panel does not contain a native function for enabling the gzip compression module.
- With the help of the .htaccess file, we can manually activate the module using gzip compression rules.
Requirements
- The login details for the Webuzo control panel, received in the email with the VPS management information.
Steps
- For authentication in the panel, one of the addresses below can be used:
Secure URL with SSL: https://IP:2003
Unsecured URL: https://IP:2002
After the nameservers are set up and propagated, these access options can also be used:
Secure URL with SSL : https://domeniu.xx:2003
Insecure URL : https://domeniu.xx:2002
- Once one of these addresses is accessed, we will be greeted by the Webuzo login window. Here we will have the opportunity to enter the username and password. These details are present in the email with the VPS administration data.

- The .htaccess file can be edited either directly via FTP or through the File Manager function of Webuzo.
- In this example, we will use File Manager.

- We will enter the authentication data of the File Manager. This information can be found in the email containing the Webuzo administration data.

- Once authenticated, we will click on the list on the left side on the public_html folder (or the root folder of the site for which we want to enable gzip compression). In this example, we will use the .htaccess file from public_html, the root folder of the main domain.
- We will right-click on the .htaccess file, then click on edit.

- In the editing interface, we will insert the following lines:
AddOutputFilterByType DEFLATE application/javascriptAddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobjectAddOutputFilterByType DEFLATE application/x-fontAddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascriptAddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xmlAddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otfAddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xmlAddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/cssAddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascriptAddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xmlBrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzipBrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent
- With the above compression rules, most files will be compressed. The rules can be modified to compress or not compress certain files.
- After inserting the rules in the editor, we will click the Save button in the menu.

- After saving, we will be greeted by a confirmation message.
- From this moment on, all data transmitted to site visitors will be compressed.