1 Reply Latest reply on Sep 18, 2001 12:31 PM by janek

    Tomcat and jboss with apache How to build multi-domain serve

    billyzl Newbie

      Tomcat and jboss with apache How to build multi-domain server?
      I use Tomcat-3.2.2, Jboss-2.2.2 , and apache 1.3.20.
      I will build multi-domain server. I hava more than 4 virtual hosts.
      what i do it?

      thanks.

        • 1. Re: Tomcat and jboss with apache How to build multi-domain s
          janek Newbie

          Hi billyzl,

          This is exactly what I'd like to do. The URL mapping would be like this:


           http://server-a.example.com/index.html ---maps to--- http://localhost:8080/server-a/index.jsp
           http://server-b.example.com/index.html ---maps to--- http://localhost:8080/server-b/index.jsp
           http://server-c.example.com/index.html ---maps to--- http://localhost:8080/server-c/index.jsp
          


          My initial thought was to configure Apache as a reverse proxy between the browser and tomcat with a bit of URL rewriting added to handle the application context prefix and *.html -> *.jsp conversion.

          Has anyone done this? Is there a better way?