![]() |
[Rejected] Wrong admin login url behind proxy - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Development (https://community.mybb.com/forum-161.html) +--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html) +---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html) +----- Forum: Rejected (https://community.mybb.com/forum-184.html) +----- Thread: [Rejected] Wrong admin login url behind proxy (/thread-212806.html) |
Wrong admin login url behind proxy - michaelkim0407 - 2017-09-05 I'm using an nginx server to map mydomain/forum to mybb, with the following configuration:
However, in admin/inc/class_page.php :477 the login form is constructed with $_SERVER['PHP_SELF'] , which will result in /admin/index.php and thus result in a different location.
RE: Wrong admin login url behind proxy - Lunorian - 2017-09-11 You could always use PHP PFM rather than proxying to apache and avoid this problem ![]() |