08-12-05 10:56 PM
Reinhold Just wrote:
> hi ng,
>
> i have to make a health script for loadbalancing with which i just have
> to check the being of index.html. so i send GET /index.html HTTP/1.0. i
> expect a HTTP/1.1 200 OK but get a HTTP/1.1 500 Internal Server Error (
> Server Apache/2.0.54 (Unix) DAV/2 ).
> when i do a GET /index.html HTTP/1.1 HOST:www.test.com i get HTTP/1.1
> 200 OK . when i make a GET /index.html HTTP/1.0 HOST:www.test.com i also
> get HTTP/1.1 200 OK. i thought HTTP/1.0 dosen't need a HOST-request ?
> where i go wrong ?
>
>
>
> regards Reinhold
Hi.
The server you're sending requests to seems not to have 'default host'
configured
and so is not able to respond you first request. So it's about server
config, not protocol.
Peter A. Kerzum
[ Post a follow-up to this message ]
|