Hi there
Thank you for an excellent module.
I recently did the upgrade to 7.x-1.1 and the login to the site stopped working. After a correct login, the user is just redirected to the user login page, no error messages.
I downgraded to 7.x-1.0 and the same issues occurred. After regenerating the .htaccess code using 7.x-1.0 the user login worked again. Reinstalling 7.x-1.1 with the 7.x-1.0 .htaccess code also allowed the user to login.
My server specs are: Server Version: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.5.30
Best wishes,
Paul
Comments
Comment #2
bohus ulrychHi all,
I have same issue - I was not able to log in.
This scenario is working: Reinstalling 7.x-1.1 with the 7.x-1.0 .htaccess code also allowed the user to login.
Comment #3
antims commentedSame problem with me,the generated .htaccess code is wrong.
Comment #4
patoshi commentedhttp://prntscr.com/b8qnym -- comparision of the 1.1 and 1.0 .htaccess code.
I can also confirm that the 1.0 version's htaccess code works on 1.1
The 1.1 generates an incorrect .htaccess code which renders all forms nonfunctioning even in the admin screens.
Comment #5
jorges commentedHi, I had a similar problem and replaced
RewriteRule .* - [S=2]with
RewriteRule .* - [S=1]See below in context:
Comment #6
marcoka commentedi had the same problem too. i just copied over the htaccess code from 1.0
in my case it wasnt especially to the login. it was for like all forms.
Comment #7
Andrew Gorokhovets commentedJorges comment (#5) fixed this issue in my case. Thank you!
Comment #8
tamnv commented#5 worked for me, thanks you!!!
Comment #9
oschuetze commented#5 is the solution. Thank you!
Comment #10
philsward commentedComment #11
bellagio commentedin my case, #5 solves login problem, but cached pages are not served.
Comment #12
aitala commentedI have had various solutions work / not work. I think it really depends on the specific version of Apache / Linux and any patches made by the system administrators.
On a server with Apache 2.4.6 on Centos 7.1.1503, I have not been able to get Boost 7.x-1.1 or later to work no matter what I attempt. Either caching fails, search fails, or logins fail. I think the admins applied a patch to address one of the issues with Apache 2.4 which is fixed later, but the patch seems to break whatever fix I add into .htaccess .
I have another site on Apache/2.2.31 on Centos 6.7 running Boost 7.x-1.2 with no problem as far as I can tell.
So.....
Eric
Comment #13
ThirtyOne34 commented#5 saved me too.
Comment #14
aniket.mohite88 commented#5 worked for me as well. Thanks.
Using boost 7.x-1.2 & Drupal 7.50
Comment #15
nor sairi commented#5 is run perfect
Comment #16
adamevertsson commented#5 solved two problems for me: I couldn't log in and the pager always served the first page. Changing a 2 to a 1 solves this.
Could we get an explanation what the 2 and 1 stands for? Could there be any complications for changing this?
Comment #17
philsward commented@AdamEvertsson
The line RewriteRule .* - [S=1] means "skip x number of rules below this line"
So, if S=2, there should be 2 rules below it to skip. If the number doesn't match the actual number of rules, or if the next live rule that isn't skipped doesn't do anything productive, then the rewrite goes all goofy.
Oh, as far as complications go, technically no? But some folks have run into weird issues depending on their setup.
Long story short, the template that was supplied with the latest stables, is incorrect. It's expecting the commented lines to be uncommented to make the line correct. In reality, the commented lines shouldn't really be commented, or the s= line should properly reflect the commented lines with an explanation that "if you uncommented the line, you should change s=1 to s=2.
In a perfect world, the template generator would be setup to output a template for Apache 2.2 and another template for 2.4 so all of this confusion would be eliminated and boost would actually work out-of-the-box.