0 Replies Latest reply on Jul 22, 2004 2:28 PM by osganian

    Setting up an alias in Apache to a WAR file inside an EAR

    osganian

      Hi, I was wondering if anybody knows how to setup an alias to do this. I did the following, which works if I deploy a simple standalone WAR file:

      httpd.conf (apache):

      # Alias jsp to the JBoss's JSPs web archive.
      Alias /myjsps "C:/jboss-3.2.5/server/default/deploy/simple.war"

      This works so I can do this:

      http://localhost/myjsps/index.jsp

      So I don't have to do:

      http://localhost:8080/myjsps/index.jsp

      Now, when I bundle my WAR file in my EAR file and deploy my EAR file it doesn't work. Does anybody know how I can do this? I don't want to go through 8080 and have Apache redirect all JSP/Servlet content onto Tomcat at 8080 but I don't know how to setup the HTTPD.conf file when my WAR is inside my EAR.

      Any ideas?

      Thanks,
      Mike