0 Replies Latest reply on Nov 1, 2013 11:24 AM by Loonis Net

    Apache in front of Jboss proxy problems

    Loonis Net Newbie



      I am having some problems setting up an Apache Web Server in front of Jboss.

      I rent a vps with apache and jboss running up and working fine separately.

      Jboss is working fine when I want to acess my app through http://myVpsUrl.com:8080/myApp/

      I am trying to redirect http://myUrl.com to my jboss app.

      In Apache conf file I set :

      <VirtualHost *:80>

           ServerName myUrl.com

           ServerAlias myUrl.com

           ProxyPass / http://localhost:8080/context/

           ProxyPassReverse / http://localhost:8080/context/

           ProxyPassReverseCookiePath / /

           ProxyRequests On 



      When I am going to myUrl.com I can reach the web app homepage but :

      • images and style are missing
      • All links redirect my to the homepage


      My style and images are located in






      I tried to add


      ProxyPreserveHost On


      But I'm getting an error :

      The page isn't redirecting properly or Infinite redirection

      I am stuck with this error since a week, any help would be sincerely appreciated.

      Thank you.