1 Reply Latest reply on Sep 29, 2009 4:48 AM by f_marchioni

    Redirect JBoss root page to a different URL

      Hi,

      We have an application which uses JBoss 4.0.2 as app and web server. It uses port 80.

      We want that when users go to http://servername:80 they are redirected to http:servername:80/abc/def.html automatically.

      Any idea how this can be done?

      Thanks in advance!

        • 1. Re: Redirect JBoss root page to a different URL
          f_marchioni

          you have JBoss running on port 80 ? maybe you mean you have Apache Web Server fronting JBoss AS ? If you have such a configuration you could use mod rewrite for example.
          If you are running jBoss standalone you could add an index.jsp page containing something like that.

          <% response.sendRedirect("/abc/def.html "); %>

          Hope it helps.