1 Reply Latest reply on Jun 26, 2003 6:55 PM by hgarrett

    Avoid browsing war application dir..!?

    hgarrett Newbie

      Hi everyone.
      I have a war application called ABC.war
      In this war file i have my JSP's, my image files and
      other resources my site needs.

      My Jboss-web XML doesn't have context-root tags
      and no virtual-host is defined either.

      In this way i can access my site by this url:
      http://localhost:8080/ABC/index.jsp

      Well.., my problem is - if i take out the index.jsp
      and any client place this url on the browser:

      http://localhost:8080/ABC/
      He can see all my website files there !!

      How can i avoid it? Does JBoss has some configuration
      that can avoid folder browsing..?

      Thanx anyway.. I'll wait some answer.
      (by the way this forum is great !)