You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/11/11 22:57:54 UTC

DO NOT REPLY [Bug 24628] New: - Unable to use multiple JkAutoAlias directives

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24628>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24628

Unable to use multiple JkAutoAlias directives

           Summary: Unable to use multiple JkAutoAlias directives
           Product: Tomcat 4
           Version: 4.1.27
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mark@meytin.com


We are trying to use multiple JkAutoAlias directives to automatically create 
Aliases for more than one instance of Tomcat.  For example, we have two 
different instances of Tomcat supporting different sets of Web applications.  
There are also multiple workers - one per Tomcat.  We would like to be able to 
automatically alias all applications under both Tomcats.  I attempted to do 
that by listing multiple JkAutoAlias statements as in:

JkAutoAlias /data2/local/tomcat1/webapps
JkAutoAlias /data2/local/tomcat2/webapps 

While I get no errors, it appears that only the second statement (or last 
statement of a set) takes effect.  The earlier statements (for tomcat1 in 
example above) are ignored.  The behavior is consistently reproducible.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org