I'm writing a multi-tenant app that will receive requests like http://www.tenant1.com/content/images/logo.gif
and http://www.anothertenant.com/content/images/logo.gif
. I want the requests to actually map to the folder location /content/tenant1/images/logo.gif
and /content/anothertenant/images/logo.gif
I'm using asp.net Mvc 2 so I'm sure there's probably a way to setup a route to handle this or a custom route handler? Any suggestions?
Thanks!