默认的/etc/httpd/conf.d/phpmyadmin.conf示例

时间:2015-05-17 18:44:55

标签: mysql linux apache phpmyadmin

我正在寻找/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。

0 个答案:

没有答案