Page 1 of 1

'This web page has a redirect loop' on localhost

PostPosted: 20. September 2015 11:53
by sai
Hi,
I installed xampp-win32-5.6.12-0-VC11-installer. I started Apache and MySQL from the XAMPP control panel.
When I open the browser and typed 'localhost', it went to the localhost/dashboard page. So in the C:\xampp\htdocs\index.php file I made the following change:

//header('Location: '.$uri.'/dashboard/');
header('Location: '.$uri);

Now when I type localhost in the url, I get 'This web page has a redirect loop' ERR_TOO_MANY_REDIRECTS.
Details:
The web page at http://localhost/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

I deleted the cookies but I keep getting the same error.
What is the solution?

Thanks.

Re: 'This web page has a redirect loop' on localhost

PostPosted: 20. September 2015 12:18
by Altrea
Hi,

What exactly do you want to achieve by this Chance and why?

Best wishes,
Altrea

Re: 'This web page has a redirect loop' on localhost

PostPosted: 20. September 2015 13:24
by sai
I want to get the localhost started. Normally it should take to http://localhost/xampp/splash.php, right?
After getting the localhost started I want to install drupal and work on it.

Re: 'This web page has a redirect loop' on localhost

PostPosted: 20. September 2015 13:26
by Altrea
sai wrote:Normally it should take to http://localhost/xampp/splash.php, right?

Wrong. The latest XAMPP versions doesn't contain the old orange administration page any more.
The dashboard is the new default. You can start using XAMPP without any changes to this.

Re: 'This web page has a redirect loop' on localhost

PostPosted: 20. September 2015 14:43
by sai
Ok. Thank you very much.