I setup Secure Pages as informed on the project page. I am attempting to get secure ONLY login and registration pages.

Here are my settings:

Enabled
Switch Back to http: Checked
Non-Secure Base URL: http://www.mysite.com
Secure Base URL: https://www.mysite.com
Make secure only the listed pages:
user/login*
user/register*
Ignore Pages:
<front>
node*
User Roles: not checked

I can login correctly and I am redirected properly to the admin pages. However, when attempting to install modules from an unsecure admin/modules page I am redirected to https...authorize.php which fails (I assume because of the cookie domain). Also, the root of my site is attempting to redirect to https://www.mysite.com/node.

I would appreciate an explanation as to why my current settings are not working and/or how I might get this working.

Thanks!

Comments

mrpeanut’s picture

Sounds like your first problem is a duplicate of #1504486: Can't force https on authorize.php (gives AJAX error). For your second problem, have you checked $base_url in settings.php or rewritebase in .htaccess?

mastermindg’s picture

Should $base_url be set to secure or non-secure url?

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks