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

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -