Just put one entry in your jboss-web..xml:
<jboss-web>
  |     <virtual-host>www.foobar.com</virtual-host>
  |     <context-root>/</context-root>
  | </jboss-web>
  | 

And then add the [Alias] tag to your [Host] entry in server.xml (under 
deploy/jbossweb-tomcat50.sar):

...
  | <Host name="www.foobar.com">
  |            <Alias>www2.foobar.com</Alias>
  |            <Alias>foobar.com</Alias>
  | ...
  | </Host>

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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to