1 Reply Latest reply on Jul 3, 2006 1:24 AM by awhitford

    virtual directory setup

    longfangq

      I am using jboss 4.0.4. I need to set up a virtual directory in a web app (it has authentication which set up in web.xml). I added the following context in server.xml under jbossweb-tomcat55.sar directory. Since each context is a web app. The following URL http://hostname/doc does not prompt for login. I don't want to add WEB-INF/web.xml under c:/doc. I am looking for a way to set up
      virtual directory in the same scope of the web app so the authentication
      config in web.xml will be enforced to the virtual directory too.

      thanks a lot.


      <Context path="/doc"
       docBase="c:/doc"
       reloadable="false">
       </Context>


        • 1. Re: virtual directory setup
          awhitford

          I have this issue too!

          BTW... Is Jetty still supported as an alternative to Tomcat? Because I know how to add virtual directories using Jetty, but the JBoss documentation mentioning Jetty seems to be circa 2003.