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=21553>.
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=21553

Accessing /manager via Alias lists webapps for default Host rather than this Host

           Summary: Accessing /manager via Alias lists webapps for default
                    Host rather than this Host
           Product: Tomcat 5
           Version: 5.0.3
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the following server.xml declaration:

<Host 
className="org.apache.catalina.core.StandardHost"
appBase="vhosts/webapps/community-2.com" 
autoDeploy="true" 
backgroundProcessorDelay="-1"
configClass="org.apache.catalina.startup.ContextConfig"
contextClass="org.apache.catalina.core.StandardContext" 
debug="0" 
deployOnStartup="true" 
deployXML="true" 
domain="Catalina"
errorReportValveClass="org.apache.catalina.valves.ErrorReportValve"
liveDeploy="true" 
name="www.community-2.com" 
unpackWARs="true" 
xmlNamespaceAware="false" 
xmlValidation="false">
  <Alias>community-2.com</Alias>
  <Context path="/admin"  
   docBase="/usr/local/jakarta-tomcat/server/webapps/admin" 
   debug="0" privileged="true" />
  <Context path="/manager" 
   docBase="/usr/local/jakarta-tomcat/server/webapps/manager" 
   debug="0" privileged="true" />
</Host>

If the /manager context is accessed as http://community-2.com/manager/html it
results in listing the webapps for http://localhost:8080/manager/html which is
the default Host.  It should be showing the webapps for the Host which contains
the alias.

Gerry Reno

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to