Forum: Ruby on Rails redirect killing dispatch.cgi

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ac31d0d6453b50ad6fdfe16742273424?d=identicon&s=25 unknown (Guest)
on 2006-03-18 21:54
(Received via mailing list)
hi, having a maddening problem with a redirects between controllers.

app is working fine on my two local machines, a mac and a pc, with
either
webrick and lighttpd/cgi on either machines.

i move it to my hosting provider and try to get it working with apache +
cgi,
most of it works, but it fails at a specific spot, and causes
dispatch.cgi to
hang indefinitely. nothing shows up at all in the rails logs, which
makes me
think it might be an apache or .htaccess issue. i have .htaccess set up
for
dispatch.cgi.

it hangs on a redirect_to call -- i see the redirect happen in the logs,
then no
sign it ever makes it to the controller/method it's redirecting to.
other
redirects in the app work fine, but this one, unlike the others,
redirects from
one controller to another.

i found a post elsewhere, which describes a similar problem. per what's
said in
that post, i tried removing all the logging statements in the relevant
methods
of my app, to no avail. i think that might be a red herring, but who
knows.

if anyone has any ideas, i'd be grateful. been banging my head on this
for days,
and it's driving me crazy.

the post w/similar issue:
http://forums.asmallorange.com/index.php?showtopic...

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
7cda78d70ab775710f6fa24e0a5b68db?d=identicon&s=25 Emin Hasanov (Guest)
on 2006-03-18 22:49
(Received via mailing list)
what is the code for redirect that causes a problem?
This topic is locked and can not be replied to.