Community

how to force certain paths to https while all other paths to http

How to force certain path such as site.com/private/* to https only
while all other paths are forced to http only

The main issue is to force those to different rules site-wide while users do not log out.

Thank YOu

Comments

=-=

investigate http://drupal.org/project/securepages if it's not exactly what you need it will likely lead you in the right direction.

I have always found

I have always found securepages to be buggy and cumbersome. I usually use http://drupal.org/project/context_ssl for for this. This way you can also take advantage of all conditions in context.

I tried secure pages. The

I tried secure pages. The main problem I have on my site is a session problem. Users log out and sometimes change from a user to another user when browsing between http and https. Would SSL context help with that?
Any other suggestions with session problems?