我正在寻找/etc/httpd/conf.d/phpmyadmin.conf配置的完整示例。 在我编辑文件时,意外保存了文件......
剩下的唯一代码..
<Directory /usr/share/phpmyadmin/>
order deny,allow
deny from all
allow from 127.0.0.1
allow from 192.168.1.0/15
</Directory>
<RequireAny>
Require all granted
</RequireAny>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
目前在VMware Workstation中运行CentOS 7。