Webmaster Security

[Apache] How to change url access link to phpmyadmin

Submitted by Deleted_3747, , Thread ID: 103097

Thread Closed

RE: [Apache] How to change url access link to phpmyadmin

r1n9zer0
Newbie
Level:
0
Reputation:
0
Posts:
12
Likes:
0
Credits:
15
29-11-2018, 08:47 AM
#2
For CentOS it's in a different location:

sudo nano /etc/httpd/conf.d/phpMyAdmin.conf
Toward the top of the file, you will see two lines that look like this:

Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
These two lines are our aliases, which means that if we access our site's domain name or IP address, followed by either /phpMyAdmin or /phpmyadmin, we will be served the content at /usr/share/phpMyAdmin.

Users browsing this thread: 1 Guest(s)