How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

  Redirect HTTP to HTTPS using htaccess in Vesta Control Panel You can automatically redirect visitors to the secured (HTTPS) version of your site to make sure your communications are encrypted by using following .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

How to replace MySQL with Percona Server Debian or Ubuntu in Vesta Control Panel

Replace MySQL with Percona Server Debian or Ubuntu  You can safely replace MySQL with Percona Server without lossing any data. In order to do it, please follow the instructions bellow 1. Import Percona GPG key apt-key adv –keyserver keys.gnupg.net –recv-keys 1C4CBDCDCD2EFD2A 2. Add this to /etc/apt/sources.list, replacing VERSION with the name of your distribution: deb […]

How to replace MySQL with Percona Server on RHEL or CentOS in Vesta Control Panel

Replace MySQL with Percona Server on RHEL or CentOS in Vesta Control Panel You can safely replace MySQL with Percona Server without lossing any data. In order to do it, please follow the instructions bellow 1. Install Percona repository yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm 2. Remove MySQL packages yum remove mysql mysql-server mysql-libs 3. Install Percona packages […]