对于Apache 2.2,它是
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
但我无法找到如何为Apache 2.4做到这一点?上述指令不兼容
答案 0 :(得分:1)
mod_authz_host的语法已更改为2.4版。
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
</Directory>
查看文档以获取更多详细信息。
http://httpd.apache.org/docs/current/mod/mod_authz_host.html