my rails app creates subdirectories i.e. maindomain.com/data/usr1 need them accessible subdomains usr1.maindomain.com. how 1 set on openshift work ever time app creates directory? done in rails code?
thanks help
update: i'm trying find out if should @ rails level or if done server "wildcard forwarding dns" level?
update: i'm trying find out if should @ rails level or if done server "wildcard forwarding" level?
you correct. should best done using wildcard forwarding.
"wildcard forwarding" means any request any subdomain forwarded server. program determine if subdomain maps directory have created. if haven't created yet, should reject request.
Comments
Post a Comment