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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]