1 Reply Latest reply on Oct 29, 2002 6:40 AM by javi ferro

    aliasing?

    javi ferro Newbie

      Hi everybody,
      I'm using JBoss-2.4.6_Tomcat-4.0.3.

      I only would like to know how to modify the conf files (jboss+catalina) to redirect the http://www.mydomain.com request to http://www.mydomain.com/frontend (there exists a frontend.war file in the deploy directory).

      Many many thanks.

        • 1. Re: aliasing?
          javi ferro Newbie

          Stupid question! Sorry

          I should have read the FAQ before. I'm pasting here the
          FAQ answer to this question:

          If you are deploying it as part of an ear, just name the context of the web application as "/" in the application.xml file.

          If you are deploying it as a single war, you have to use a jboss-web.xml file. That file must be put in the WEB-INF directory of the web application. A minimal jboss-web.xml that only set the context of the application to the root context would look like:


          <jboss-web>
          <context-root>/</context-root>
          </jboss-web>