You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by William Barker <wi...@wilshire.com> on 2001/07/31 01:42:03 UTC

[PATCH] Smart mappings + map-root confuses Apache TC3.3B1

    The configuration:
 <ApacheConfig forwardAll="false" useJkMount="true"
                     jkDebug="error"  noRoot="false" />

causes ApacheConfig to output a line of the form:
Alias / /path/to/ROOT

which makes Apache very unhappy when trying to find static files.

One alternative to the attached patch would be to simply output a
DocumentRoot directive for this special case, but I thought that that would
be more error-prone.