Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-14-2009, 09:15 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 13

Rep: Reputation: 0
Apache access question


I am running Fedora 11 with apache, it works fine when accessing from external network. But when accessing internally i.e.

just going to
I get a http 400 bad request error

I checked my apache logs and saw:

[error] [client] 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 ""] [uri "/favicon.ico"] [unique_id "Sv9sYn8AAAEAAAfdyt8AAAAF"]

So something is blocking it, maybe htaccess?
Not sure, any ideas how to fix this?

Old 11-14-2009, 09:25 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
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:
Old 11-14-2009, 09:45 PM   #3
LQ Newbie
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Apache: free access from lan users and password access to wan users... how? maginotjr Linux - Server 4 01-01-2011 11:08 AM
Question re Internet Access/Email Access Sulli1 Linux - Newbie 5 04-28-2009 07:53 AM
apache access question cylarz Linux - Security 4 04-25-2006 11:03 AM
apache access log question verbal Linux - Software 3 07-28-2004 11:15 PM
Apache ip access pazvant Linux - General 4 02-01-2004 10:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration