This content has been marked as final.
Show 5 replies
-
1. Re: setting up virtual host-VERY URGENT......
cstechno Mar 11, 2005 1:27 AM (in response to cstechno)pls respond asap...
-
2. Re: setting up virtual host-VERY URGENT......
cstechno Mar 11, 2005 1:29 AM (in response to cstechno)"cstechno" wrote:
[img][/img][img][/img]
Hi all ,
We have a site running by the name xyz.com and another by name xyz.com/abc.Now we have registered another Domain name like xyzabc.com,what we need is whenever somebody types xyzabc.com, the page must get directed to xyz.com/abc, we tried changing <virual-host> in the jboss-web.xml. It doen't work.can anybody suggest an alternative to get this working .Thanx in advance.
ps: we use two ear files for the two applications
and jboss version is jboss 4.0.1
CS Techno -
3. Re: setting up virtual host-VERY URGENT......
cstechno Mar 11, 2005 1:30 AM (in response to cstechno)"cstechno" wrote:
"cstechno" wrote:
Hi all ,
We have a site running by the name xyz.com and another by name xyz.com/abc.Now we have registered another Domain name like xyzabc.com,what we need is whenever somebody types xyzabc.com, the page must get directed to xyz.com/abc, we tried changing <virual-host> in the jboss-web.xml. It doen't work.can anybody suggest an alternative to get this working .Thanx in advance.
ps: we use two ear files for the two applications
and jboss version is jboss 4.0.1
CS Techno -
4. Re: setting up virtual host-VERY URGENT......
trackingroi.com Mar 11, 2005 9:26 AM (in response to cstechno)Can you have an index.jsp look at the hostname header and do a redirect based upon that? That's the most simple way I can think of
-
5. Re: setting up virtual host-VERY URGENT......
cstechno Mar 14, 2005 1:03 AM (in response to cstechno)Thanx for answering, but the problem is we do not know which url it came from suppose we have
1)kkk.com
2)aaa.com
if kkk.com is typed it must go to
ip:xxx.xxx.xxx.xxx/test --default is kkk(1st appl)
otherwise
ip:xxx.xxx.xxx.xxx/test/aaa(2nd appl)
The real pblm is that at, test we will not know if we have arrived from kkk.com or aaa.com