phpmyadmin 更改路徑別名 - Linux

Table of Contents

大家好:

作業系統:centos7


# vi /etc/httpd/conf.d/phpMyAdmin.conf


#Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /yellow /usr/share/phpMyAdmin

修改路徑後,只開放本機查訊,重新啟動httpd

輸入:127.0.0.1/phpMyAdmin
127.0.0.1/yellow

都可連線,想問phpMyAdmin 的路徑要怎麼關掉,還需改哪嗎?謝謝


--

All Comments

Dora avatarDora2020-03-22
不知道怎麼回答你…
Quanna avatarQuanna2020-03-25
你的 DocumentRoot =?
Michael avatarMichael2020-03-28
Alias /phpMyAdmin /dev/null
Daniel avatarDaniel2020-04-02
var/www/html
Odelette avatarOdelette2020-04-03
grep -r phpMyAdmin /etc/
Suhail Hany avatarSuhail Hany2020-04-04
grep -r phpMyAdmin /etc/httpd/
Blanche avatarBlanche2020-04-06
另外, /var/www/html 下面是不是也放了 phpmyadmin?
Anonymous avatarAnonymous2020-04-07
n大您好:是的
Erin avatarErin2020-04-08
把那邊砍掉就沒有了...不然就把它Alias到不存在的資料夾
Elma avatarElma2020-04-13
b大您好:您是說把/var/www/html 裡的phpMyAdmin 資
料夾砍掉嗎?謝謝
Connor avatarConnor2020-04-13
你裝個虛擬機來試試看你的想法,吃點小苦頭後就知道了
Caitlin avatarCaitlin2020-04-16
說不定花的時間還比你在這邊等別人回答的時間還少,你
Kumar avatarKumar2020-04-18
自己就能體會了