Hi,

can someone tell me how to configure JBoss (Tomcat) to handle virtual hosts?

I've found the server.xml file in tomcat's conf directory. However, I was
unable to use it. I wanted to configure tomcat to handle the URL
"http://127.0.0.1/" as it were "http://127.0.0.1/myJ2EEApp/index.html" (this
latter is a J2EE app running in JBoss).

Here's what I added to server.xml:

        <Host name="127.0.0.1" >
           <Context path=""
                    docBase="work/localhost_8080%2FmyJ2EEApp" />
        </Host>

It did not help, of course. Only the compiled JSPs are in the directory
denoted by "docBase", so it cannot work this way. So how to specify virtual
hosts that are backed by a J2EE app?

Thanks in advance,

János Jarecsni


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to