launchscout / nku

NKU Class Spring
5 stars 14 forks source link

This webpage has a redirect loop #53

Closed beisert1 closed 10 years ago

beisert1 commented 10 years ago

After following this guide here: http://railscasts.com/episodes/270-authentication-in-rails-3-1

When I launch my server, I get this following browser error:

image

Spartan-196 commented 10 years ago

As we do not have direct control over our servers you need to ditch the "force_ssl" that guide has you put in place and then clear your cache for the website or at a minimum your cookies. Basically if you watch the server process you when you try and hit your page it gives a 304 Page perminately moved and then tries to redirect. However with https not allowed it too tires to redirect back to http and then starts it's loop. I ran into this problem with the same guide.

beisert1 commented 10 years ago

It works! Thank you @Spartan-196 I never would have figured that out on my own! :+1: