Having a persistent problem while attempting to use this module on a virtual host account. Login of users occurs properly, but user is directed to virtual host document root twice:
Page request (not auto-logged in):
httx://somedomain.com/~user/some.page
Path in address bar after auto-login and 404:
httx://somedomain.com/~user/~user/some.page
All links on the 404 page (if any) are correct, and any subsequent requests for pages by auto-logged-in user are correct.
Comments
Comment #2
Mr. Sharkey commentedAfter more trial and error, I've found that the work-around for this is the same as that described in this issue: https://www.drupal.org/project/ip_login/issues/2837733, commenting out line 183 of ip_login.module:
ltrim() chops off everything from the beginning of request_uri to the first slash (the matched character).
Wondering if it would be recommended to comment out each instance of ltrim() in the module (3 total)?
Comment #3
Mr. Sharkey commentedComment #4
Mr. Sharkey commentedComment #5
amateescu commentedClosing old issues.