Hello,
I've setup SSL for Apache 2.0 (Win32) and it is working. However i would like to do 2 things and i'm not sure how (or the best method)
1) Force anyone that arrives at http://hostname.com to be automatically redirected to
--> https://hostname.com/login
2) I only need the SSL connection to encrypt the authentication. (i'm doing an AD lookup using PHP LDAP functions) and if the user authenticates, i'd like to let them into the site
(http://hostname.com/site) and everything else doesn't need SSL.
--a cookie is set which needs to be maintained when switching between https: and http:
also... I've looked all over the net but haven't found an answer to these questions...
anyone know what I should do? Basically i just need to secure the one lookup
I've setup SSL for Apache 2.0 (Win32) and it is working. However i would like to do 2 things and i'm not sure how (or the best method)
1) Force anyone that arrives at http://hostname.com to be automatically redirected to
--> https://hostname.com/login
2) I only need the SSL connection to encrypt the authentication. (i'm doing an AD lookup using PHP LDAP functions) and if the user authenticates, i'd like to let them into the site
(http://hostname.com/site) and everything else doesn't need SSL.
--a cookie is set which needs to be maintained when switching between https: and http:
also... I've looked all over the net but haven't found an answer to these questions...
anyone know what I should do? Basically i just need to secure the one lookup