專業居家清潔 免費到府估價,清潔養護馬上搞定 | 一張保單輕鬆享有人生各階段風險保障 通通幫您規畫好 |
限制某些 IP 才能瀏覽 |
房東:陌生人 發表時間:2007-04-06 | [檢舉] |
限制某些 IP (或 IP 範圍) 才能瀏覽: vi /etc/httpd/conf/httpd.conf Order allow,deny Allow from 192.168 210.176.52.245 (只限制 192.168 開頭的內部 IP 和特定的外部 IP 可以進入瀏覽) /etc/init.d/httpd reload 輸入正確的帳號密碼才能瀏覽: mkdir /etc/httpd/passwd chown root:apache /etc/httpd/passwd chmod 750 /etc/httpd/passwd htpasswd -c /etc/httpd/passwd/passwd.plog admin (建立帳號密碼檔, admin 是自訂的帳號, 可隨意指定) vi /etc/httpd/conf/httpd.conf require valid-user AuthType Basic AuthName \"Login\" AuthUserFile /etc/httpd/passwd/passwd.plog /etc/init.d/httpd reload |
廣利不動產-板橋在地生根最實在--新板特區指名度最高、值得您信賴的好房仲 完整房訊,房屋、店面熱門精選物件,廣利不動產 優質仲介,房屋租賃、買賣資訊透明,交易真安心! 廣利不動產-新板特區指名度最高、值得您信賴的好房仲 您的托付,廣利用心為您服務 |
1 樓住戶:jack 發表時間:2008-09-25 | [檢舉] |
# Controls who can get stuff from this server. # Order allow,deny Allow from all Deny from 118.168.131.50 Deny from 122.126.112.163 Deny from 122.126.119.173 Deny from 122.126.125.248 Deny from 122.126.101.85 Deny from 122.126.117.107 Deny from 125.233.175.196 Deny from 218.171.54.136 Deny from 222.149.230.198 |