This content has been marked as final.
Show 1 reply
-
1. Re: configure virtual hosts
brettcave Jan 28, 2009 6:31 AM (in response to mablaev)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......