Answer the question
In order to leave comments, you need to log in
How to close access to /phpmyadmin?
I'm trying to close access to phpMyAdmin via сайт.ру/phpmyadmin
. CentOS 7.
Used instructions to change Alias in /etc/httpd/conf.d/phpmyadmin.conf:
from Alias /phpmyadmin /usr/share/phpMyAdmin
to Alias /чтотосвоё /usr/share/phpMyAdmin
Also changed the link in ISPManager /usr/local/mgr5/etc/ispmgr.conf
extaction phpmyadmin https://сайт.ру/чтотосвоё
Rebooted the server several times.
But now my phpMyAdmin opens both at the new address /чтотосвоё
and at the old one /phpmyadmin
.
Maybe somewhere else you need to remove the link to the old alias?
Answer the question
In order to leave comments, you need to log in
move the folder physically. in a real way "something of my own"
ps sometimes, clumsy solutions are more reliable;))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question