Hi, I need to be able to map urls like:
foo.myapp.com foo2.myapp.com woo.myapp.com etc.. and be able to have a parameter in my session (say a String) set to either foo, foo2, woo, etc These subdomains are database driven and therefore I don't want to add any subdomains hardcoded to web.xml or apache . I was thinking about doing a mod rewrite in apache and either appending an extra parameter or mapping to something like: /webappurl/foo /webappurl/foo2 /webappurl/woo and then (by majic!) be able to pick this up in the wicket session. Anyone got any idea's on how I could go about this? I did think about adding another servlet filter and setting some threadlocal variable, but this doesn't feel right. many thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
