Remitur Posted January 18, 2019 Share Posted January 18, 2019 I have 2FA enabled on admin area access (Duo Security) For existing administrators, everything is working fine. But If I add a new administrator, the first time he tries to login (and that will be forced to configure 2FA), at www.mydomain.com/admin/myaccount.php?2faenforce=1 I get the error message: This page isn’t working domainregister.international redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS (yet tried, of course, cookies clearing... it's useless, I get this error on different PCs too) Any idea on any way to investigate such an issue?!? 😞 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2019 Share Posted January 18, 2019 1 minute ago, Remitur said: Any idea on any way to investigate such an issue?!? any chance that its being caused by .htaccess ? https://help.whmcs.com/m/troubleshooting/l/802231-troubleshooting-a-redirect-loop Quote Redirect loops can be caused by .htaccess files which make use of an Apache mod called mod_rewrite. This is most commonly used for redirecting pages, creating human and search-engine-friendly URLs, and forcing pages to be loaded over a different protocol. 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted January 18, 2019 Author Share Posted January 18, 2019 1 hour ago, brian! said: any chance that its being caused by .htaccess ? Rewrite are enabled just: - from http to https -and from www. to not-www. RewriteEngine On RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTPS_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] Everything seems right to me... are not able to understand what is not running right... 😕 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2019 Share Posted January 18, 2019 what happens if you disable Force Settings ? you may be better off opening a ticket with support on this if you can't track down a fix. 1 Quote Link to comment Share on other sites More sharing options...
Remitur Posted January 18, 2019 Author Share Posted January 18, 2019 Hummmm... I've just discovered that this configuration and management of redirects totally changed in 7.2 ... 😕 Need to do few tests... but deep in the night. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 18, 2019 Share Posted January 18, 2019 4 minutes ago, Remitur said: Hummmm... I've just discovered that this configuration and management of redirects totally changed in 7.2 .. you mean Friendly URLs ? could turn into a very long night if you start trying to play with that! 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted January 21, 2019 Author Share Posted January 21, 2019 Fixed. The issue: for security reasons, .htaccess was no writeable by WHMCS, so in it there were the old rules but not the new rules created by WHMCS 7.2 I guess that also a strange, different issue I fixed with a workaround few weeks ago may be related to this... But during update process found any alert, warning or error about... 😕 All is well etc. etc. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.