Hi Guys,
I am facing an issue ERR_TOO_MANY_REDIRECTS which keep on coming after some time in chrome browser. I have followed the steps as suggested through this link (https://www.digitalocean.com/community/questions/migration-failed-badly-redirect-loop-error-server) and somewhat the issue was resolved as the same error now doesn’t occur in another browser.
Kindly suggest what further changes i can do to make the website work flawless.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
@rohitpahuja Firefox has a different way it protects against loops, so instead of showing an error, it only does a single loop (similar to a page reload) - I actually think it generates a warning in the developer console. It’s different browsers, so they have different internals and how they handle things.
@rohitpahuja
Change the *:80 configuration to this:
And post your configuration for HTTPS.
The reason why I’m asking is because I’m getting a return from two IPs, but I don’t know how Amazon hosting works, so you might need to ask them.
@rohitpahuja Does it only happen to you or everyone using Chrome?
@rohitpahuja If you get an 500 error, then it should be in your error log. Check that you haven’t modified the default path in you Vhost, otherwise it’s normally located in
/var/log/apache2/error.log
.Hi @rohitpahuja
Are you using a CMS like WordPress? Can you post your Apache Vhost configuration - as well as any
.htaccess
.