Allow for Aliases at the resource level.
authorfunkman <funkman@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 13 Sep 2007 15:19:59 +0000 (15:19 +0000)
committerfunkman <funkman@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 13 Sep 2007 15:19:59 +0000 (15:19 +0000)
commitc61f6407642b804b3c25453478d68f3b16f49f58
treea64a7f275677b5c32b148918a51d2f0899934f60
parente6753dafec350aacc140817d5bce7f17a1fdc551
Allow for Aliases at the resource level.

This is to prevent situations of relying on symlinks, or Filters
while still make outside directories appear as part of the webapp.
(A common feature request seen on the user list)

Example usage:
<Context ... >
  <Resources className="org.apache.naming.resources.FileDirContext"
               aliases="/doh/=C:/tmp/woohoo/,
                        /mmmmmm/=C:/opt/data/doughnuts/" />
</Context>

If the feature is NOT used - there is no additional overhead.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@575332 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/naming/resources/FileDirContext.java
webapps/docs/changelog.xml