tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13285] New: - admin web application fail with virtual host
Date Fri, 04 Oct 2002 12:44:01 GMT
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=13285>.
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=13285

admin web application fail with virtual host

           Summary: admin web application fail with virtual host
           Product: Tomcat 3
           Version: 3.3.1 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: zorro.desbois@wanadoo.fr


My environnement :
  Tomcat 3.3.1 with Apache 1.3.26/mod_jk/ajp13
  Java HotSpot(TM) Server VM (build 1.3.1_02-b02, mixed mode)
  Linux 2.4.18 i686

I define a virtual host in apache with redirection of servlets in tomcat :
<VirtualHost 127.0.0.1>
  ...
  ServerName applitestservlet
  ...
  JkMount /*.jgi ajp13
</virtualHost>

In Tomcat, I have apps-127.0.0.1.xml with :
<Host name="applitestservlet" >
  <Context path="" docBase="/usr/webapps/AppliTestServlet" >
  </Context>
  <Context path="/*.jgi" docBase="/usr/webapps/AppliTestServlet" >
  </Context>
</Host>

So, when I start tomcat, I have in my logs :
2002-10-04 12:18:42 - ContextManager: Adding  DEFAULT:/admin
2002-10-04 12:18:42 - ContextManager: Adding  applitestservlet:/ROOT
2002-10-04 12:18:42 - ContextManager: Adding  applitestservlet:/*.jgi
...

If I GET http://applitestservlet/Login.jgi, my request is OK

BUT, after removing Context applitextservlet and re-add it via the admin web 
application (http://localhost:8080/admin/contextAdmin/contextAdmin.html) the 
request is KO

Note : after re-add the context, the tomcat logs says :
2002-10-04 12:19:04 - ContextManager: Adding context DEFAULT:/ROOT
2002-10-04 12:19:04 - ContextManager: Adding context DEFAULT:/*.jgi
!!!
(instead of applitestservlet:/*.jgi)

So the virtual host is lost for tomcat ... :-(

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


Mime
View raw message