I am deploying a ear-Project via standalone config with JBoss 7.0.2.Final. It is reachable from outside by:
I have a domain and it's easy to redirect from
Now I want to replace the "[my_ip]:8080" part by www.mydomain.com. And I got it working with apache2 ProxyPass to port 8080 and a mod_rewrite rule. But as soon as I click a link on the page the url in the adress bar stays the same instead of rewriting the new url.
I guess I should use the JBoss valve, but I have no idea where to put the valve directive and also the Rewrite-Rules. It seems to have changed over time and all I can find on the internet (which is a lot) refers to some files which don't exist anymore. Please help.