0 Replies Latest reply on Dec 18, 2014 3:11 AM by Philipp Tarna

    JBoss 7.0.2, URL-Rewrite, DNS

    Philipp Tarna Newbie

      Hello,

       

      I am deploying a ear-Project via standalone config with JBoss 7.0.2.Final. It is reachable from outside by:

       

      [my_ip]:8080/somestring/home

       

      I have a domain and it's easy to redirect from

       

      www.mydomain.com

      to

      [my_ip]:8080/somestring/home

       

      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.

       

      Greetings,

      Vertago