[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird logs showing up
From: |
Tim Jackson |
Subject: |
Re: weird logs showing up |
Date: |
Tue, 14 Mar 2006 18:19:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Thunderbird/1.0.6 Fedora/1.0.6-1.1.fc4 Mnenhy/0.7.1 |
alex black wrote:
> telnet www.myhost.com 80
> GET /catalog/list.php HTTP/1.1.
> Host: www.myhost.com
> Returns exactly what I would expect, a bunch of HTML.
>
> telnet www.myhost.com 80
> GET /catalog/list.php HTTP/1.1.
> Host: www.myhost.com:80
>
> Returns a 302.
[snip]
> I think my server is "right" - i.e. it's saying "don't use the :80.
> So, how can I stop monit from appending the :80 to the host header?
I'd fix your web server instead. Monit is not doing anything wrong;
according to the HTTP specification the Host header can include a port
number.
(I've been bitten by this before, not with Monit, so I went and read up
on it.)
Tim