Answer the question
In order to leave comments, you need to log in
How to close access?
There is a computer with linux and a lamp-server installed on it. In order to enter phpmyadmin, you need to enter localhost / phpmyadmin in the address bar (everything is as it should). If, for example, I have a site called mysite.com and if I add the address phpmyadmin(mysite.com/phpmyadmin) to that, the control panel opens. Is there anything that can be done to prevent this from happening?
Answer the question
In order to leave comments, you need to log in
1. Restrict access by IP
2. Move phpmyadmin to a directory with a different name and generally try not to use the "standard" directories
3. Use mod_rewrite to intercept requests by sending them or reading the 404.html page or somewhere else.
So after all, in the phpmyadmin config itself, it is possible to set any arbitrary address (alias) just for your case.
Well and still, I would restrict access on ip.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question