+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!
|