lighty sends 301 moved permanently if User-Agent is missing or not correct
While testing with telnet I saw that using
Get / HTTP/1.1
does always return a 301 with location set to http://www.test.me/, so maybe creating an infinite loop. I think it shouldn't do that...
Updated by jrabbit over 15 years ago
You must have a configuration error - HTTP requests that only provide a Host: header work fine. Also, how on earth do you make the leap from this behaviour to the User-Agent header being a factor?
Updated by Anonymous over 15 years ago
Configuration might be a reason, however, the server runs fine otherwise. So I guess it should not behave like that. Anyway, the 'leap' I make is simple: If I add a User-Agent header, I get the normal expected behaviour, if it's missing I get the behaviour described above. My configuration includes simple vhosting through rewriting the url after checking the host.
Updated by admin over 15 years ago
I can't reproduce this:
GET / HTTP/1.1
HTTP/1.1 200 OK
Last-Modified: Fri, 05 Oct 2007 11:12:16 GMT
Date: Thu, 11 Oct 2007 13:28:46 GMT
Updated by stbuehler over 14 years ago
- Status changed from New to Missing Feedback
- Pending changed from Yes to No
- Patch available set to No
Probably config mistake, but config is missing so we cannot help.
Also available in: Atom