1 Reply Latest reply on Oct 11, 2003 8:14 AM by raja05

    how to disable directory browsing

    anaik100

      hi guys


      i have a application where on startup giving a link
      like http://localhost:8080/TimeSheet1.0
      gives me a login page.

      But if the user enters http://localhost:8080/TimeSheet1.0/jsp he can see all my jsp files

      jsp folder of mine contains all my jsp files

      So i want to disable this directory browsing.

      how do i do it in jboss

      Plz help

      Thanks an advance

      regards

      amar

        • 1. Re: how to disable directory browsing
          raja05

          If u are using Tomcat, go to Jboss_home/tomcat/conf directory
          and change
          <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
          </init-param>

          to
          <init-param>
          <param-name>listings</param-name>
          <param-value>false</param-value>
          </init-param>

          -Raj