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


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

Reply via email to