|
发表于 2004-7-1 11:47:52
|
显示全部楼层
<Directory /path/to/html>
order allow, deny
allow from all
</Directory>
这个例子运行所有用户访问 /path/to/html 目录
<Directory /path/to/html>
order allow, deny
allow from uti.com
</Directory>
这个例子允许所有与 uti.com 域名匹配的网址访问该目录
<Directory /path/to/html>
order allow, deny
allow from 202.115.4
</Directory>
这个例子允许 202.115.4.1~202.115.4.255 网段的地址访问该目录.
当然也可以定义单个 ip. |
|