MSM multisite login causes ERR_TOO_MANY_REDIRECTS problem
Hi,
we have a problem very similar to that cited in the post:
http://ellislab.com/forums/viewthread/217307/
(which has currently no solution)
The scenario:
We have two sites: “sito1.prova.com” and “sito2.prova.com”. You can see attached to this post the two “index.php” files.
We have added to the “config.php” file the line:
$config[‘multi_login_sites’] = “http://sito2.prova.com/|http://sito1.prova.com/”;
to have multiple login to both sites.
The problem is that when we go to the frontend login ({exp:member:login_form}), fill the form and press “submit”, the browser return the error ERR_TOO_MANY_REDIRECTS (attached the image of the resut page in chrome).
The weird thing is that if we swap the sites order in “$config[‘multi_login_sites’]” in config, that is writing:
$config[‘multi_login_sites’] = “http://sito1.prova.com/|http://sito2.prova.com/”;
things seem to work right (login ok and logged simultaneously in both sites
Additional notes:
- we have cleared all cookies in the browser before doing every test
- problem has been verified in safari, chrome, firefox (we think is not browser dependent)
- we don’t have htaccess (we are using index.php as site home)
- we have tried the solution suggested by Dan Decker in the above forum post but with no solution
- we tried with 3 and 4 sites and we could not figure out the “$config[‘multi_login_sites’] magic sites order” that makes things work right.
EE Version 2.5.2 build 20120606
MSM Version 2.1.3 build 20120529
thank you