RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On Sun, 21 Jul 2002, Mladen Turk wrote: All that I'm trying is to skip the need to use the Apache machanism for the uri-space-file-space translation. If the TC says that _its_ uri-space can be translated to the file-space only than map_to_storage can provide the real finfo and serve the

RE: cvs commit:jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
I think I understand what you're trying to say and I wouldn't like to introduce a piece of code that fixes one thing and breaks a bunch of them (load balancing, virtual serving etc.). Let me submit this analysis. The static, local (to Apache) copy of index.jsp (or whatever other file) will get

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
On Mon, 2002-07-22 at 01:39, [EMAIL PROTECTED] wrote: I think Mladen chose the wrong example, but he is right. Think about the case when pre-compiled JSPs are used. In this case index.jsp is converted to a servlet - in the deployed application there is no 'index.jsp' file, just a servlet

RE: cvs commit:jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
On Mon, 2002-07-22 at 04:14, Mladen Turk wrote: All that I'm trying is to skip the need to use the Apache machanism for the uri-space-file-space translation. What are the benefits of having Apache if you don't use it for all you can (in cases where you can)? I view Apache/Tomcat combo as a

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-21 Thread bojan
bojan 2002/07/21 15:34:25 Modified:jk/native/apache-2.0 mod_jk.c Log: Instead of mixing URI's with filenames, which was wrong, just use filenames to stat. This will also take care of aliases, but be warned - URI will still be passed to Tomcat unchanged. Revision Changes

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-21 Thread Bojan Smojver
I have reworked the code to take care of aliases (i.e. to use what Apache already knows about them from the main request). Please note that URI will be left unchanged, so unless Tomcat knows about the aliases as well, nothing will get served. I will not commit the change to mod_jk2 since there

DO NOT REPLY [Bug 10789] - Setting DirectoryIndex of index.jsp does not get served by jk2

2002-07-21 Thread bugzilla
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.

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On 22 Jul 2002, Bojan Smojver wrote: If there is no physical file, then nothing will get done by the patch at all (since r-finfo.filetype is 0). It won't affect mod_dir's old behaviour at all. I'm not sure how that changes things... My question was: if you have a precompiled index.jsp, there

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: On 22 Jul 2002, Bojan Smojver wrote: If there is no physical file, then nothing will get done by the patch at all (since r-finfo.filetype is 0). It won't affect mod_dir's old behaviour at all. I'm not sure how that changes things... My question was: if you

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On Mon, 22 Jul 2002, Bojan Smojver wrote: Which is how it used to be in the old code anyway. And that means that DirectoryIndex should not be used if you don't have physical files in the right places (with the current patch level in mod_jk 1.2.x for Apache 2) or in virtual places (with the

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: You don't need to ask tomcat - jk should have all the mappings, and it can already map any URI. All it has to do is: - for each index: -- concatenate with the current uri -- do the jk mapping ( or internal redirect if you use Location instead of the

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-21 Thread bojan
bojan 2002/07/21 19:48:11 Modified:jk/native/apache-2.0 mod_jk.c Log: Be a bit more specific about what is a directory. Revision ChangesPath 1.51 +10 -13jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On Mon, 22 Jul 2002, Bojan Smojver wrote: You don't need to ask tomcat - jk should have all the mappings, and it can already map any URI. All it has to do is: - for each index: -- concatenate with the current uri -- do the jk mapping ( or internal redirect if you use Location

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: Are you referring here to mod_jk2 only or both mod_jk 1.2.0 and mod_jk2? I think it could be done for jk2 ( but not easy ). I'm not sure about 1.2 - just forwarding and letting tomcat handle it is not the worse thing. How about I try to fix it properly in

DO NOT REPLY [Bug 11025] New: - IOException at sun.net.www.protocol.http.HttpURLConnection.getInputStream

2002-07-21 Thread bugzilla
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=11025. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11025] - IOException at sun.net.www.protocol.http.HttpURLConnection.getInputStream

2002-07-21 Thread bugzilla
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=11025. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On Mon, 22 Jul 2002, Bojan Smojver wrote: Quoting [EMAIL PROTECTED]: Are you referring here to mod_jk2 only or both mod_jk 1.2.0 and mod_jk2? I think it could be done for jk2 ( but not easy ). I'm not sure about 1.2 - just forwarding and letting tomcat handle it is not the worse

DO NOT REPLY [Bug 11026] New: - After days' running, Apache Tomcat deny offer service.

2002-07-21 Thread bugzilla
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=11026. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 11026] - After days' running, Apache Tomcat deny offer service.

2002-07-21 Thread bugzilla
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=11026. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: You don't need to ask tomcat - jk should have all the mappings, and it can already map any URI. All it has to do is: - for each index: -- concatenate with the current uri -- do the jk mapping ( or internal redirect if you use Location instead of the

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread costinm
On Mon, 22 Jul 2002, Bojan Smojver wrote: it can already map any URI. All it has to do is: - for each index: Just reading the algorithm and thinking about the implementation of it. Some of Well, don't take it as an algorithm - there are many other things to consider. DirectoryIndex

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bill Barker
- Original Message - From: Bojan Smojver [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Sunday, July 21, 2002 9:19 PM Subject: RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c Quoting [EMAIL PROTECTED]: You don't need to ask tomcat

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: DirectoryIndex index.jsp index.vm The order of events would be: 1. mod_dir does a sub request for index.jsp 2. jk_map_to_storage() receives the request 3. jk_map_to_storage() engages map_uri_to_worker() -- this would be new code 4.

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting Bill Barker [EMAIL PROTECTED]: I *really* don't like the idea of passing DIR_MAGIC_TYPE requests to Tomcat, since I tend to set up directories with only static content that only Apache knows about. Sending them to Tomcat just gives me very many 404 errors, so I'd be forced to use a

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
My apologies everyone... Just ignore the part of my previous e-mail marked here with between the stars. It just plain stupid :-( ** Quoting Bojan Smojver [EMAIL PROTECTED]: Quoting [EMAIL PROTECTED]: DirectoryIndex

new velocity user

2002-07-21 Thread sunil
can anyone help me with instructions for running velocity templates on tomcat ..?? or kindly give some leads for the same .. thnx sunil