Re: [問題] 不希望USER用IP連到我的 apache

看板Linux作者 (Simple Life)時間17年前 (2008/10/10 15:47), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
fedora core 7 以上版本 為了讓apche2.0更有安全性 增加了 Mod_Security 在 /etc/httpd/Mod_Security.d 裡 編輯文件 /etc/httpd/modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf 把 SecRule REQUEST_HEADERS:Host "^[\d\.]+$" "deny,log,auditlog,status:400,msg:'Host header is a numeric IP address', severity:'2',id:'960017' 這一行若存在 當client 使用ip連線web site 的時候 會出現 error 400的訊息 希望對你有幫助囉 ※ 引述《sunfox (時不我待)》之銘言: : 大家好.. : 我的web server用apache 2.x架的 : 因為我是固定IP 但我不希望 USER用IP連到我的WEB SITE : 請問該從什麼地方來下手呢 : 謝謝 -- http://www.wretch.cc/album/tigerlee1006 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.173.71.154
文章代碼(AID): #18xmYAIx (Linux)
文章代碼(AID): #18xmYAIx (Linux)