🌼 Spring Sale — Up to 60% discount for hosting and domains
TutorialsWebuzo

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.

 

Autentificare  panou webuzo

 

  • 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.

File Manager Webuzo

 

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

Autentificare File Manager

  • 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.

Editare .htaccess Webuzo

  • 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.

Fisiere comprimate webuzo

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

Similar Articles

Website optimization from the cPanel control panel using mod_deflateTutorials /cPanel

This article describes the steps necessary for optimizing the website using the Optimize Website menu in cPanel.

2
by Sebastian Szlivka
Views 1134
Updated 1 year ago
Published on 06/10/2017
Accessing and uploading a file using the File manager in the Webuzo admin panel.Tutorials /Webuzo

In this tutorial, we will show how to access the File manager and upload a file using it in the Webuzo panel.

by Florin Petran
Views 626
Updated 10 months ago
Published on 17/08/2017