Apache access question
Hello,
I am running Fedora 11 with apache, it works fine when accessing from external network. But when accessing internally i.e. just going to http://192.168.1.50 I get a http 400 bad request error I checked my apache logs and saw: [error] [client 192.168.1.10] ModSecurity: Access denied with code 400 (phase 2). Pattern match "^[\\d\\.]+$" at REQUEST_HEADERS:Host. [file "/etc/httpd/modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf"] [line "60"] [id "960017"] [msg "Host header is a numeric IP address"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/IP_HOST"] [hostname "192.168.1.50"] [uri "/favicon.ico"] [unique_id "Sv9sYn8AAAEAAAfdyt8AAAAF"] So something is blocking it, maybe htaccess? Not sure, any ideas how to fix this? Thanks |
You can see in the error message that mod_security denied the request: "Host header is a numeric IP address".
Are you wittingly running it? Documentation here: http://www.modsecurity.org/documentation/ |
I was unaware I was running it. I didn't even know it existed, I will try to read up on the link you gave. Thanks :)
|
All times are GMT -5. The time now is 01:47 PM. |