Need help with login/cookies
Permalink
I have been trying to install concrete5 into directory and use htaccess to bypass the directory name.
So far everything seems to work fine, except concrete5 will not recognize my log in session if I by pass the directory name.
http://www.concrete5.org/community/forums/installation/install-into...
I can still edit all the pages just fine if I insert back the directory name. But really would like to know if there's a way to make concrete recognize the log in session in this case?
So far everything seems to work fine, except concrete5 will not recognize my log in session if I by pass the directory name.
http://www.concrete5.org/community/forums/installation/install-into...
I can still edit all the pages just fine if I insert back the directory name. But really would like to know if there's a way to make concrete recognize the log in session in this case?
concrete5 can install into a directory without an problems or modifications, and the session cookie is tied to the domain for security reasons,
No, installing into a directory is not the problem here. I'm having problem "hiding" the directory name.
Currently, I had concrete installed here (direct link to a sample page)
(1)http://www.all-final.com/concretetest/about...
Using htaccess, I am able to access that page hiding the "/concretetest/"
(2)http://www.all-final.com/about
And with a custom template for auto-nav, they too are linking the way I want, which is, without "/concretetest/"
However, when I log in to edit pages, I can only edit the page if I access it with link (1). I can't edit it if I use link (2)
Obviously the domain name doesn't change. What change is just the directory.
Currently, I had concrete installed here (direct link to a sample page)
(1)http://www.all-final.com/concretetest/about...
Using htaccess, I am able to access that page hiding the "/concretetest/"
(2)http://www.all-final.com/about
And with a custom template for auto-nav, they too are linking the way I want, which is, without "/concretetest/"
However, when I log in to edit pages, I can only edit the page if I access it with link (1). I can't edit it if I use link (2)
Obviously the domain name doesn't change. What change is just the directory.
It's an old thread, but this probably helpful to others.
You should share the same salt in your concrete5 installations.
Open and edit config/site.php and give both installs the same salt.
But be warned. Your user passwords salts have been created using the salt in your config. So you would need to edit the database manually to copy the passwords salts from (1) to (2)
But I guess what you really look for is a "Single Sign On" -- SSO solution. OpenID is a way to get a single sign on network.
You should share the same salt in your concrete5 installations.
Open and edit config/site.php and give both installs the same salt.
But be warned. Your user passwords salts have been created using the salt in your config. So you would need to edit the database manually to copy the passwords salts from (1) to (2)
But I guess what you really look for is a "Single Sign On" -- SSO solution. OpenID is a way to get a single sign on network.