Apache 目錄限制
發表於 : 2005-06-05 19:08:44
在 /etc/httpd/conf/httpd2.conf 最後加入以下...
<Directory /var/www/html/test/>
Order deny,allow
Deny from all
allow from X.X.X/255.255.255.0
</Directory>
<Directory /var/www/html/test/>
Order deny,allow
Deny from all
allow from X.X.X/255.255.255.0
</Directory>