I am new to Apache. I have 2 jboss (Jboss as 7.1.1) and apache httpd server. I am using mod_cluster for load balancing. I wish to hide the jboss url from user and wish to show the user clean urls.
for e.g.
www.mydomain.com will be having my static website.
subdomain.mydomain.com should go to mydomain.com:8080/myapp
subdomain.mydomain.com/mypage.xhtml should go to mydomain.com:8080/myapp/mypage.xhtml
sumdomain.mydomain.com/myservice should go to mydomain.com:8080/myapp/service.xhtml?name=myservice
I have tried many things with no success. Can some one tell me if it is possible or not. And if possible what are the things I should do.
Thanks a lot in advance.
Regards.