Project

General

Profile

Actions

Bug #817

closed

LightTPD should give a helpful error message when HTTP is used to access an HTTPS port or simply redirect.

Added by Anonymous over 18 years ago. Updated over 16 years ago.

Status:
Wontfix
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

Actions #1

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

Actions #2

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.

Actions #3

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Wontfix
Actions

Also available in: Atom