Forum: Ruby on Rails account_location question

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.
997fc4f3de31e06ae679aa331bbd4fe6?d=identicon&s=25 jim (Guest)
on 2007-01-19 16:29
(Received via mailing list)
I'm trying to setup subdomains using account keys (user1.example.com,
user2.example.com, etc) and am using the account_location plugin.  I've
got everything working properly.  My only question is, how do I handle
invalid subdomains - for example, if I only have 2 accounts (user1 and
user2) and someone trys to visit user2.example.com --

Right now the page just hangs and cannot be displayed.  I'd like to
redirect them to login or provide an error message.

Thanks.
This topic is locked and can not be replied to.