java - dynamically creation of subproject which can be access by subdomain based on different user -


i have project in java ee. want change logo , background color of project based on user. example :

if url is: www.xyz.com --> should open project default logo , background.

but if url is: abc.xyz.com or xyz.com/abc --> should open project logo , background specific abc.

here abc user name can created dynamically. want know if create user how can access same project url username.xyz.com or xyz.com/username.

i think solution configure app behave want http://appurl/username url , use apache http server proxy route calls http://username.appurl http://appurl/username .

in order achieve http://appurl/username can map application treat mapped /* , treat following first / parameter. can achieved using basic servlet mapping or, example, spring mvc.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -