Webmaster Security

[Apache] How to change url access link to phpmyadmin

Submitted by Deleted_3747, , Thread ID: 103097

Thread Closed
08-10-2018, 12:29 PM
#1
I don't know if alot of people know this but hey, can't be too sure.

Just open
Code:
/etc/apache2/conf-available/phpmyadmin.conf

Content locked
This content has been locked. Please login or register in order to unlock it.

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)