【发布时间】:2017-09-11 15:50:20
【问题描述】:
我想只允许本地主机访问这些文件夹
.htaccess 文件无法正常工作
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
【问题讨论】:
-
您可能还希望允许
ipv6localhost 地址,Allow from fe80::1
标签: php apache .htaccess xampp
我想只允许本地主机访问这些文件夹
.htaccess 文件无法正常工作
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
【问题讨论】:
ipv6 localhost 地址,Allow from fe80::1
标签: php apache .htaccess xampp
试试这个方法:
order deny,allow
deny from all
allow from 127.0.0.1 ::1
【讨论】: