Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I enabled it, but it doesn't do anything?!
It doesn't redirect user when they log in to https!
Is Secure pages module require for this to work?
Comments
Comment #1
coltranesecure pages isn't required. The redirect happens when the user visits over HTTP, but only if they've authenticated over HTTPS.
Can you confirm that when you authenticate your browser receives the AUTHSSL cookie?
Comment #2
Narek CreditAttribution: Narek commentedNow, I got it, Thank You.
Comment #3
coltraneComment #5
prakashsingh CreditAttribution: prakashsingh commentedCan anyone explain the entire steps.
Regards
Comment #6
coltraneprakashsingh, what steps are you referring to? Steps of installation or how it works?
Comment #7
petes-dupe2 CreditAttribution: petes-dupe2 commentedI've extracted the module to sites/default/module for my Drupal 7 site. I've gone to admin/modules and enabled "auth ssl redirect". Now when an anonymous user visits a page which requires authentication over http, my access-denied page with a login block is displayed. Upon entering username/pass, I'm redirected back to the original page via http. My browser does show the cookie AUTHSSL=1. It seems after login, I should be redirected to the same page via https. Any idea what I'm doing wrong?
Comment #8
coltraneThe code to redirect only works for anonymous users, it wasn't designed to redirect authenticated users over HTTP to HTTPS. Why do you users to authenticate over HTTP and then afterward go to HTTPS?