Closed (duplicate)
Project:
Redirect 403 to User Login
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2012 at 04:08 UTC
Updated:
10 Feb 2012 at 00:50 UTC
When Drupal is not install in root of web server, the "destination" path is wrong. The installation prefix path should be strip. Here is my solution:
// line 87: $path = _r4032login_remove_language(request_uri());
global $base_path;
if (strpos($path, $base_path) === 0) {
$path = substr($path, strlen($base_path));
}
It would be great this fix will appear in next release. Thanks :-)
Comments
Comment #1
mike_sandes commentedThanks for that - works for me!!
Comment #2
dmegatool commentedWas having the issue too. Adding your code fixed it ! Thanks !
Comment #3
lotyrin commentedThis is a duplicate of #1304864: Doesn't work in subdirectory install