Bug #817
closedLightTPD should give a helpful error message when HTTP is used to access an HTTPS port or simply redirect.
Description
Now, when a user goes to http://host:port/ when the correct URL is https://host:port/, she simply gets a connection reset. LightTPD should be able to detect that HTTP was probably used where HTTPS was expected, and give an error message to that effect. Alternatively, it should be able to be configured to automatically redirect.
Apache2 gives an error message. See for example:
http://www.dresdner-private.de:443/
It says:
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://www.dresdner-privat.de/
-- xiaowen
Updated by Anonymous over 18 years ago
There is a page on redirecting HTTP to HTTPS, but that only works if they use different ports: http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps
-- xiaowen
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
No bug here. and just get your links right.
Also available in: Atom