I've enabled SSL for my Apache server so when I attempt to go to https://example.com/private/index.html
, my browser displays a generic dialog asking me to provide my username and password to log in.
How does one use an HTML form to start a secure session? For example, do I need to set the action to a PHP script that can somehow start the same secure session that Apache uses?
This is an acceptable solution; however, I'd like to finesse things a bit by making a login page with an HTML form that would somehow start the SSL session and then take me to https://example.com/private/index.html
. How would one do that?