'This web page has a redirect loop' on localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

'This web page has a redirect loop' on localhost

Postby sai » 20. September 2015 11:53

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.
sai
 
Posts: 3
Joined: 20. September 2015 11:43
Operating System: Windows 7

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

Postby Altrea » 20. September 2015 12:18

Hi,

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

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby sai » 20. September 2015 13:24

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.
sai
 
Posts: 3
Joined: 20. September 2015 11:43
Operating System: Windows 7

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

Postby Altrea » 20. September 2015 13:26

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby sai » 20. September 2015 14:43

Ok. Thank you very much.
sai
 
Posts: 3
Joined: 20. September 2015 11:43
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 81 guests