apache 提示You don't have permission to access /test.php on this server.怎样解决

把denty改成allow

httpd.conf文件中。

<Directory "cgi-bin">
AllowOverride None
Options None
Order allow,deny
Deny from all -->将所有的Deny改成Allow
</Directory>

你可能感兴趣的:(Permission)