You might want to capture the whole HTTP conversation with
tcpdump and compare the good one to the bad one.  Something
might become obvious.

On Thu, Mar 26, 2009 at 12:01 PM, larry price <[email protected]> wrote:
> Does check_http send a Host: header?
>
> If you are using NameVirtualHost the UA must send a Host: header for
> the server to serve the correct page.
>
> As in, you may think you are checking
> http://example.com/blog/blogging_about_blogging
> but the server sees a request for
> http://10.10.10.10/blog/blogging_about_blogging
>
> What do the server logs show?
>
> On Thu, Mar 26, 2009 at 11:19 AM, Quentin Hartman <[email protected]> wrote:
>> Ok, so this is weird.
>>
>> I have a couple Wordpress 2.7.x sites that are sending 404's to my
>> monitoring system (Nagios, using the normal check_http plugin) ,
>> regardless of what URL I hit on the site. And it's a custom
>> WP-generated 404.
>>
>> But.
>>
>> Hitting the sites using a browser from the same server that is hosting
>> the monitoring works fine. Get content and a 200 status as expected.
>>
>> Changing my user agent to that which the monitoring system sends
>> doesn't break it on "real" browsers, so it's not a user agent thing.
>>
>> The only common thread I can think of is that these sites are running
>> Wordpress 2.7. They are the only ones we are hosting that are this
>> new. Any thoughts would be appreciated. My prayers to the Googley-bear
>> so far have been fruitless.
>>
>> -QH-
>> _______________________________________________
>> EUGLUG mailing list
>> [email protected]
>> http://www.euglug.org/mailman/listinfo/euglug
>>
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> http://www.euglug.org/mailman/listinfo/euglug
>



-- 
Bob Miller                              K<bob>
                                        [email protected]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to