Web Servers on Unix and Linux - HTTP/1.0 error 500

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > August 2005 > HTTP/1.0 error 500





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author HTTP/1.0 error 500
Reinhold Just

2005-08-09, 5:53 pm

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
kerzum@mail.ru

2005-08-12, 5: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

Reinhold Just

2005-08-12, 5:56 pm

kerzum@mail.ru schrieb:
> Reinhold Just wrote:
>
>
>
> 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
>


Hi Peter,

thanx for the answer. i will ask the server administrator for that.

regards Reinhold
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com