Description
System Details
host :: http://dev.magento_2.nl [Apache Virtual Host]
PHP Version 5.6.15-1+deb.sury.org~trusty+1
System Linux Elsha 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64
Server API Apache 2.0 Handler
Browser :: Mozilla Firefox for Ubuntu ver 42.0 [All cache enabled]
Issue
Magento2 installed with sample data [full].
Magento2 Frontend, Works fine. [Url :: http://dev.magento_2.nl]
Magento2 Backend, gives redirect loop. [Url :: http://dev.magento_2.nl/mg2admin]
Tried to debug, with following results.
File @ :: "vendor/magento/module-backend/Controller/Adminhtml/Auth/Login.php"
Method :: public function execute()...
Line :: return $this->getRedirect($backendUrl);
causes infianite redirect.
File @ :: "vendor/magento/framework/Controller/Result/Redirect.php"
Method :: public function setPath($path, array $params = [])....
$path = 'http://dev.magento_2.nl/mg2admin/admin/index/index/key/d13fc6c95465f4b9f86eb2734f8aeb985652c2bea2ebacbd39791550536f57e2/';
$params = [];
$this->url = $this->urlBuilder->getUrl($path, $this->redirect->updatePathParams($params));
/*
Returned URL :: http://dev.magento_2.nl/mg2admin/http:/index/dev.magento_2.nl/mg2admin/admin/index/index/key/e667989087990866ee28bb69b7d4d81c05f23964b0da418afd646f2ceff1b49d/
*/