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

#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: 2 Guest(s)