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