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

    virtual directory setup

    Longfang Q Newbie

      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>