Redirecting https to http

user19215 asked:

I am using apache2 and I need to redirect https traffic to http for my captive portal application. For ex to I place the captive portal as the gw. Can you help me with this?

My answer:

You can’t really intercept https on a captive portal anyway because you won’t have the right certificates to prevent users from receiving browser warnings, but you don’t have to do so anyway. You only need to redirect all HTTP traffic to your captive portal. All modern computer and mobile device operating systems try to request an HTTP URL as soon as they connect to Wi-Fi to detect the existence of a captive portal. If the HTTP request is redirected, they pop up a window with your captive portal web page.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.