This content has been marked as final.
Show 3 replies
-
1. Re: jboss-web.xml and virtual-hosts
pergesu Dec 27, 2004 9:13 AM (in response to wiley173)I don't think there's anything wrong with doing
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root />
<virtual-host>www.mysite.com<virtual-host>
<virtual-host>mysite.com<virtual-host>
</jboss-web> -
2. Re: jboss-web.xml and virtual-hosts
wiley173 Dec 28, 2004 3:36 PM (in response to wiley173)Hello, thanks for the help.
I tried that but it does not work. Does it work for you?
thanks -
3. Re: jboss-web.xml and virtual-hosts
wiley173 Dec 28, 2004 3:40 PM (in response to wiley173)This is what my jboss-web.xml looks like...
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root />
<virtual-host>www.mysite.tld</virtual-host>
<virtual-host>mysite.tld</virtual-host>
</jboss-web>
I've also tried
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root />
<virtual-host>www.mysite.tld</virtual-host>
mysite.tld
</jboss-web>
I can't seem to get anything to work, maybe I should use mod-rewrite...