View Single Post
  #3  
Old 11-03-2008, 01:20 PM
ideaoforder ideaoforder is offline
Member
 
Join Date: Jul 2008
Posts: 28
Default +1 to subdomain mapping

It seems like the question here is whether dispatch.lsapi can accept arguments. In a typical php setup (Ive never had to do this with Rails until now), you can pass arguments like so:

RewriteRule ^(.*)$ index.php?arg=$1 [QSA,L]

So is there a way to pass dispatch.lsapi a controller, action, or namespace?

I understand that this is a complicated issue with many possible responses--but none of the standard Rails ways of handling this allow for a simple silent redirect. This is for a custom app, so I can manage the routes fine and am not worried about breaking anything. I seached the forums and couldn't find a question/answer that addressed this specifically.

Thanks in advance for your time!
Reply With Quote