https://issues.apache.org/bugzilla/show_bug.cgi?id=50762

           Summary: Setting a contextPath and docBase makes both available
                    as a context
           Product: Tomcat 7
           Version: 7.0.8
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: robert.flahe...@oracle.com


1) Under /webapps create a directory /foobar, and add index.html in it.
2) Edit the /conf/server.xml and add <context path="/foo" docBase="foobar" />.
3) Both /foo/index.html and /foobar/index.html are available.

I'm not sure this is spelled out anywhere, but it seems like this shouldn't
expose /foobar/*.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to