Webmaster Security

[Apache] How to change url access link to phpmyadmin

Submitted by Deleted_3747, , Thread ID: 103097

Thread Closed
Deleted_3747
0,004 IQ
Level:
19
Reputation:
216
Posts:
3.15K
Likes:
513
Credits:
150
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

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)