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 [EMAIL PROTECTED] 2002-07-15 16:02 ------- Inserting some fprintf statements into mod_jk2 to show the sequence of hook invocations, I see that the problem is that jk2_handler is not getting invoked until too late in the process when the request is a directory. I assume this is because of the mod_dir processing, but I do not really know anything about the Apache internals. In the below trace, the sequence is http://XXX.XXX.XX.XX/ <---- 1 and then turn around and request http://XXX.XXX.XX.XX/index.jsp <---- 2 explictly. G:\Apache32\Apache2\bin>apache -X jk2_post_config( ) ENTER jk2_post_config( ) ENTER jk2_child_init( ) ENTER jk2_translate( ) ENTER <------- 1 Unparsed uri: / Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: / Return DECLINED jk2_translate( ) ENTER Unparsed uri: /index.html Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: /index.html Return DECLINED jk2_translate( ) ENTER <------- 1 Unparsed uri: /index.jsp Return OK jk2_map_to_storage( ) ENTER <------- 1 Unparsed uri: /index.jsp Return OK <--- If jk2_handler were now invoked .. jk2_translate( ) ENTER Unparsed uri: /error/HTTP_FORBIDDEN.html.var Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: /error/HTTP_FORBIDDEN.html.var Return DECLINED jk2_translate( ) ENTER Unparsed uri: /error/include/top.html Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: /error/include/top.html Return DECLINED jk2_handler( ) ENTER <------- 1 Unparsed uri: /error/include/top.html Return DECLINED jk2_translate( ) ENTER Unparsed uri: /error/include/bottom.html Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: /error/include/bottom.html Return DECLINED jk2_handler( ) ENTER Unparsed uri: /error/include/bottom.html Return DECLINED jk2_translate( ) ENTER Unparsed uri: /error/include/../contact.html.var Return DECLINED jk2_map_to_storage( ) ENTER Unparsed uri: /error/include/../contact.html.var Return DECLINED jk2_translate( ) ENTER <------- 2 Unparsed uri: /index.jsp Return OK jk2_map_to_storage( ) ENTER <------- 2 Unparsed uri: /index.jsp Return OK jk2_handler( ) ENTER <------- 2 Unparsed uri: /index.jsp Return OK -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>