[jboss-user] [Installation, Configuration & DEPLOYMENT] - Virtual Host : How to route all subdomains

mirco123 do-not-reply at jboss.com
Thu Jun 26 03:33:04 EDT 2008


Hello,

configuring virtual hosts is easy and works fine. 

in server.xml
<Host name="mydot">
  |                 <Alias>www.mydot.com</Alias>
  | </Host>   

and in jbos-web.xml :
<jboss-web>
  |     <context-root>/</context-root>
  |     <virtual-host>mydot</virtual-host>
  | </jboss-web>

Now I need the 'Alias' working for all subdomains of this domain to let my users create a good-looking home URL based on their nicks. 

So I need something like:

*.mydot.com

Does Alias know any wildchars? How can this be done?

Thanx, mirco

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160750#4160750

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160750



More information about the jboss-user mailing list