Jump to:
| Project: | Secure Site |
| Version: | 6.x-2.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I installed Secure Site on a localhost development environment. On localhost, everything worked fine. I had HTTP basic authentication enabled and Force Authentication set to always. With those settings, I was able to log in as user 1, as any user with the "tester" role, and with a guest username.
Then I migrated the site to my live server. I got the login box, but could not log in as any user. Then I went back to the localhost site, disabled and uninstalled Secure Site, and re-uploaded the database to the live environment. I clicked around on live just to be sure that the problem wasn't caused by something silly like not being able to find the database or a missing table or something. Everything worked, so I re-enabled Secure Site. Logged out and got the same problem.
When I re-installed the Secure Site module, it remembered all my old configuration options, even though I had uninstalled the module. Not sure if that means that the module was leaving some setting behind that's causing it not to work on the live environment. The only other possibility I can think of is a server configuration issue, but I'm not sure what to look for. Does anyone have any ideas?
Comments
#1
A little more info: The site is running apache 1.3 and PHP 5. The localhost site is running wampserver.
#2
I may be encountering the same issues as you. I recently moved from website from localhost to a liveserver. My localhost was XAMPP on a windows machine. I had enabled securesite on my localhost before moving to the live server.
After importing the database and drupal files to the live server I had no issue with logging in using securesite but after having a server PHP upgrade, my permissions were completely messed up for the admin (user 1) user. Every page, even after the initial login, required login authentication. I also had access denied messages when trying to access admin pages. Eventually I was able to get in and rebuild the permissions.
The same permissions issue happened twice within a week after I left the website alone for a couple days and tried to log in again. I performed the same permissions rebuild solution, but don't understand why this permissions thing is reocurring.