Give apache mod_rewrite a look.
Actually I solved the problem myself. So to share the knowlege with you here comes the solution.
The only thing you have to do is to add a virtual host and root context entry to jboss-web.xml. That's it.
Actually I did this also but their was (stupid me) a spelling mistake. Can't believe it but that was just the problem with the setup.
So, for the example below your jboss-web.xml for the jmx-console should contain:
The same holds true for the othe apps...
can anybody confirm that this works with JBoss-4's Tomcat? I can make virtual host work in jboss-web.xml, but cannot use the <root-context> tag to position it at the root context of the virtual host.
Am I missing something?
Just read your message posted here. I am new to this technology and want to run a couple of domain names on my machines. I tried to have the two lines below:
Could you please tell me whre is the "name2" directory that I should put the index.html?
Thank you very much.