Thanks for the replies. To explain the full problem. I run my site on
a shared host, I know it’s not ideal, but it is cheap. To achieve this
I have to run Mongrel using a different port from 80 as my hosting
company has Apache running on port 80. So the URI looks like this:
I’ve set up a redirect in the .htaccess file so if a user types in
www.mysite.com they are forwarded to www.mysite.com:3500/home
And from what you are saying I’m wondering if the redirect is part of
the problem as I’ve set it up as a Permanent 302 redirect.
The problem comes when the user clicks the login button on the home
page, the login form code is as follows.
<% form_tag :controller => ‘login’, :action => ‘login’ do %>
The browser then writes the URI as www.mysite.com:3500/login/login and
that’s when I get the redirect error.
Annoyingly this doesn’t happen when I’m working from localhost
Any ideas greatfully received