[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: configure virtual hosts

brettcave do-not-reply at jboss.com
Wed Jan 28 06:31:38 EST 2009


in WEB-INF/jboss-web.xml:

<jboss-web>  
    <class-loading>
        ...
    </class-loading>

    <context-root>/</context-root>
    <virtual-host>virtual.host.name</virtual-host>
</jboss-web>

in /path/to/jboss/server/config/deploy/jboss-web.deployer/server.xml:
Find the "<Host name=localhost>...." and add this after:

  
virtual.host.name
another.virtual.host.name

                
        


Not sure if  accepts wildcards, if not, then would have to manually enter all instances of *.yourdomain.com as individual aliases......


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

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



More information about the jboss-user mailing list