How to change phpmyadmin folders name?
:/:Hey guys, I want to know if it's possible to change the phpmyadmin directory's name.
It's located in /usr/share/phpmyadmin .
It's not in /var/www.
I already tried to rename the folder, but it didn't work and even the phpmyadmin didn't work, so I have to use the phpmyadmin, but the thing is that people can easily get through the phpmyadmin page by simply typing on the browser: IP/phpmyadmin
Is there a way to rename it or to block it somehow? Thanks in advance.
Re: How to change phpmyadmin folders name?
ln -s /usr/share/phpmyadmin [ space ] /var/www/pma[or name you like] > ln(1)
example for symbolic link:
ln -s /usr/share/phpmyadmin /var/www/pma
Re: How to change phpmyadmin folders name?
Does this command just moves the folder to /var/www? If I move the phpmyadmin folder into /var/www , it will be easier for hackers to get through the folder even if I rename the folders name, won't it?
Re: How to change phpmyadmin folders name?
Or just look for a ip login scrip, put your ip in the scrip and only that ip can access to the admin
Re: How to change phpmyadmin folders name?
Well, I did it! I denied all the IPs except from mine and I also changed the name of the folder! No one can get through the phpmyadmin now! Muahahahhaha. Thanks guys