限某網域可讀取資料夾


vi /etc/httpd/conf/httpd.conf(格式如下)

service httpd restart(重新啟動httpd)


設定檔格式如下:

<Directory /var/www/html/tool123456789>
Deny from all
Allow from IP
192.168.1.0/24
Options Indexes FollowSymLinks
</Directory>