SUCCESS! By adding the "bluedragon" and "WEB-INF" folders to my sub- directory (in this example openbd/mysite/admin), I was able to use the above Host entry to accomplish my goal and shorthand my local URL. I also had to add "127.0.0.1 admin.mysite" to my Windows 7 Hosts file located at C:\Windows\System32\drivers\etc. (Interestingly, localhost is commented out in this file, but apparently Tomcat has another way to know who localhost is).
To anyone attempting the same thing, I believe using this separate virtual Host with Context to get a shortcut url to the subdirectory, you would NOT have access to session and application scopes of higher directories, correct? On Jun 7, 3:44 pm, Matt C <[email protected]> wrote: > Well, I figured out why I couldn't get extra Hosts in server.xml to > work, so I tried adding this... > > <Host name="admin.mysite" appBase="webapps" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > <Context path="" docBase="openbd/mysite/admin" debug="0" > reloadable="true" /> > </Host> > > which almost worked perfectly, except I noticed coldfusion wasn't > getting compiled. So I tried adding a a similar Context to the > localhost Host and noticed the same problem. So, if I navigate past > the openbd folder with a Context, does it skip the magic parts that > handle coldfusion? -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
