monit-general
[Top][All Lists]
Advanced

[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 21:34:42 +0000
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Jan-Henrik Haukeland wrote:

Tim Jackson's comment is entirely correct in that RFC 2616 (HTTP 1.1) state, in section 14.23, that [:port] is part of the host header value. HTTP/1.1 servers should handle this correctly. In your case I suspect this may not be apaches fault but PHP.

Chances are it's not PHP itself, but something in the PHP script which is evaluating and taking action based on $_SERVER['HTTP_HOST'] without taking account of the possibility that the Host header is suffixed with a port. Easy mistake to make.

Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]