Secure phpMyAdmin - Ubuntu 12.04

Secure phpMyAdmin - Ubuntu 12.04

Grebenaha

54 года назад

457 Просмотров

Secure phpMyAdmin - Ubuntu 12.04
Subscribe: https://bit.ly/3d8Mzrx
Commands:
1. sudo vim /etc/phpmyadmin/apache.conf
2. AllowOverride All
3. sudo vim /usr/share/phpmyadmin/.htaccess
4. AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/.phpmyadmin.htpasswd
Require valid-user
5. sudo htpasswd -c /etc/apache2/.phpmyadmin.htpasswd username
6. sudo service apache2 restart
7. Order Allow,Deny
Allow from 127.0.0.1

Тэги:

#Secure #secure #php #my #admin #phpmyadmin #linux #ubuntu #server #.htaccess #htpasswd #.htpasswd #apache.conf #conf #directoryIndex #index.php #ifmodule #sudo #nano #vim #localhost_ubuntu #127.0.0.1 #allow_from #Order_Allow #access_from_internet #remote #remote_server #ubuntu_12.04 #12 #12.04
Ссылки и html тэги не поддерживаются


Комментарии: