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 10789] - Setting DirectoryIndex of index.jsp does not get served by jk2
Date Wed, 17 Jul 2002 05:32:50 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=10789>.
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=10789

Setting DirectoryIndex of index.jsp does not get served by jk2





------- Additional Comments From bojan@rexursive.com  2002-07-17 05:32 -------
>From mod_jk2.c, function jk2_handler, line 536:

-------------------------------
if(uriEnv==NULL || strcmp(r->handler,JK_HANDLER)!= 0 )
      return DECLINED;
-------------------------------

which kind of boils down to the same thing as in bug 9913, except this is for
mod_jk2, as compared to mod_jk.

I guess this fix here would be (following the logic of 9913 fix):

-------------------------------
if(uriEnv==NULL ||
   (strcmp(r->handler,JK_HANDLER) &&
    strcmp(r->handler,DIR_MAGIC_TYPE)))
      return DECLINED;
-------------------------------

Bojan

--
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