LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
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
 
Old 11-14-2009, 09:25 PM   #2
anomie
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: http://www.modsecurity.org/documentation/
 
Old 11-14-2009, 09:45 PM   #3
Ippy98
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 AM.

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