Redirect loop when using FastCGI #34
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is a redirect loop when using FastCGI. The problem is that in this case $_SERVER['SCRIPT_NAME'] is not filled with the running PHP script but the CGI wrapper. So PLA will redirect to index.php over and over again.
This patch for lib/common.php fixes the issue.
This can be addressed by setting the appropriate fastcgi variable. I struck the issue when using nginx, and the following config allowed phpldapadmin to work without modification (assuming you know where to put it):
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
mentioned in commit
e46579b34e