Disable root authorization
We are looking for a file - /etc/phpMyAdmin/config.inc.php,
Change the line
$cfg['Servers'][$i]['AllowRoot'] =TRUE;
to
$cfg['Servers'][$i]['AllowRoot'] = FALSE;
Set up authorization by ip
Apache
/etc/httpd/conf.d/ phpmyadmin.conf
<Directory "/usr/share/phpmyadmin">...
Installing LAMP
In this tutorial, we will install the LAMP on a server running Ubuntu, and at the same time we will configure the server.
Installing LAMP packages via the tasksel utility
This utility will allow you to install the entire LAMP stack in one command, tasksel can also be used on a...
What is Fail2ban
Fail2ban protects the server from password brute force and SSH hacking and also able to protect certain partitions on a server running Apache or NGINX.
Installing Fail2ban on CentOS
# Get the Epel repository:
sudo yum install epel-release
# Install fail2ban
yum install...
301 redirect
A 301 redirect is a permanent redirect from one page to another. Most often, webmasters use it when transferring a page to a new address, changing a domain name, or creating site mirrors.
Setting up a redirect via HTML and PHP
Simple redirect:
<meta http-equiv="refresh"...