# Too many redirects

**URL:** <https://www.ruby-forum.com/t/too-many-redirects/91176>\
**Category:** Ruby-Forum\
**Created:** [April 5, 2007, 11:18am UTC](https://www.ruby-forum.com/t/too-many-redirects/91176 "2007-04-05T11:18:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![braver](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e57/32.png) [@braver](https://www.ruby-forum.com/u/braver)\
**Post date:** [April 5, 2007, 11:18am UTC](https://www.ruby-forum.com/t/too-many-redirects/91176/1 "2007-04-05T11:18:35Z")

</div>

Greetings – I’m getting a “Too many redirects occurred trying to open  
â€œhttp:///forum/” when going to the top domain of my site.  
/user/login work fine.

BTW, when I originally edited site.rb, I’ve enclosed ActionMailer  
settings to :smtp in if RAILS\_ENV != ‘test’ – that was giving an error,  
RForum::RAILS\_ENV undefned; then site.rb wouldn’t load properly and  
default\_site was loaded instead! I guess that needs better exception  
management to expose syntax errors in site.rb.
