2 Replies Latest reply on Jun 18, 2010 3:13 AM by mow.spackenwasser.gmx.de

    wrong redirects when using seam behind an apache proxy

    mow.spackenwasser.gmx.de

      Hi,


      i want the Jboss to only listen on localhost, so i configured a modproxyhttp-Proxy to connect to my Seam-App thru an apapache2-server.


      So the setup is something like this:
      Client - Https - Apache - modproxyhttp - JBoss 5.1 - Seam-app


      Its working real smooth - until a redirect occurs.


      Once a Redirect from pages.xml triggers, the browser is actually forwarded to http://127.0.0.1/app/page.seam, so it pretty mutch looks like seam uses the Jboss-bind-adress in this case.


      Any way to make him redirect using relational urls like /app/page.seam instead of http://127.0.0.1/app/page.seam, or at least set the base-url myself?


      Running Jboss 5.1 with Seam 2.2