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


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to