Confusion rising...

Further testing with SiteA and SiteB in directories outside Tomcat has
yielded an odd result.

Current Directory Structure:
------------------------------------
/opt/openbd/tomcat/webapps
 - test1/index.cfm = "webapps test1"
/opt/temproot/SiteA
 - index.cfm = "Site A home"
 - /test1/index.cfm = "SiteA test1"
 - /test2/index.cfm = "SiteA test2"
/opt/temproot/SiteB
 - index.cfm = "Site B home"
 - /test1/index.cfm = "SiteB test1"
 - /test2/index.cfm = "SiteB test2"
-------------------------------------

http://openbd.local/ = /opt/temproot/SiteA = "Site A home"
http://openbd.secure/ = /opt/temproot/SiteA = "Site A home"
http://openbd.secure:8888/ = /opt/temproot/SiteB = "Site B home"
http://openbd.secure:8888/test1 = /opt/openbd/tomcat/webapps/test1 =
"webapps test1"
http://openbd.secure:8888/test2 = /opt/temproot/SiteA/test2 = "Site A
test2"

My server.xml file is the same as posted in my previous link, except
that the docBases of openbd.local and openbd.secure point to SiteA and
SiteB respectively.  At first it almost made sense that all
subdirectories were first sought out in webapps followed by the
docBase.  But what blew my mind was the last result above, pointing to
test2 in SiteA versus SiteB.  I've triple-checked the html to make
sure those urls are pointing where I think they are.

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to