Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 40206 invoked from network); 1 Jul 2002 22:00:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 1 Jul 2002 22:00:28 -0000 Received: (qmail 14773 invoked by uid 97); 1 Jul 2002 22:00:36 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 14757 invoked by uid 97); 1 Jul 2002 22:00:36 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 14742 invoked by uid 98); 1 Jul 2002 22:00:36 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D20D0E7.8090208@cs.stanford.edu> Date: Mon, 01 Jul 2002 15:00:07 -0700 From: Dan Sandberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: [PATCH] Re: SSI Servlet has big problems References: <004201c1f8ae$5d1a7ee0$717c0304@dslverizon.net> <3CE584A6.8030901@cs.stanford.edu> <3D20B4AB.726A26BF@progeeks.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jul 2002 22:00:24.0702 (UTC) FILETIME=[B3C369E0:01C2214A] X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Yes, let's merge them together. How do I get to the code that you fixed? Were the test cases in CVS? I'd say lets get all the test cases setup, and see where my code fails your tests. Then we can use your code wherever functionality is missing. I thought I had checked out the head revision. Did I make a mistake with the cvs check out command? -Dan Paul Speed wrote: >(Resending from my older address in hopes that it will help avoid > some confusion.) > >Hmmm... > >This is what I get for ignoring the list for a while. ;) > >Note: I completely rewrote the SSI support in 4.x HEAD and had Bip >apply the patches (Amy also did some patching) for exactly the same >reasons you originally mention. I did this around Oct/Nov 2001. On >most of the 4.0 bug reports for SSI (which I agree was a bad >implementation on that branch) I commented that my changes should >probably have been back-ported from head. > >I even had test cases for all of the SSI commands, including the >conditionals which I added support for. > >My only guess is that you were looking at an older version when finding >the problem. My rewrite solved all of these problems and was >completely compatible with all mod_include commands except for the >regex stuff. > >Of course, now it seems that my version has been completely blown >away. Which is unfortunate since that means we lose conditionals... >and possibly some of the more esoteric nesting behavior that I copied >from Apache (I haven't tested this yet.) > >It's too bad that SSI on head was blown away for changes to an older >version. Any chance we can nicely merge the two good versions into >one more good version? > >-Paul Speed > >Dan Sandberg wrote: > > >>Hi everyone. >> >>Here are more changes to the SSI code. >> >>I have a test case ( comparing SSI behavior to Apache by using .shtml >>files in different tomcat webapps / apache directories ) which I have >>not included because I'm not sure where to put manual test cases like >>this. If there is an apprioriate place for these kinds of things, >>please let me know. >> >>I also have not yet updated package.html in the o.a.c.ssi directory. I >>will do this when I come back from a weekend trip. >> >>Here are the instructions for installing the new code, using the >>jakarta-tomcat-4.0 dir as the base dir. >> >>delete files in ( and dir ) : >>catalina/src/share/org/apache/catalina/util/ssi >>delete file: >>catalina/src/share/org/apache/catalina/servlets/SsiInvokerServlet.java >>unjar the jar >>-this puts SSIServlet.java into >>catalina/src/share/org/apache/catalina/servlets >>-this puts the rest of the files in >>catalina/src/share/org/apache/catalina/ssi >> >>Since the name of the SSI servlet class changes, and since I added some >>notes to it, patch web.xml according to the included patch. >> >>Since I'm planning on maintaining this for a while, commit access might >>be a good idea, as it makes things easier for everyone. >> >>Thanks & have a great weekend! >> >>-Dan >> >>Index: web.xml >>=================================================================== >>RCS file: /home/cvspublic/jakarta-tomcat-4.0/catalina/src/conf/web.xml,v >>retrieving revision 1.34 >>diff -r1.34 web.xml >>150d149 >>< >>157a157 >> > >>169c169,170 >>< >>--- >> > >> > >>171,174c172,177 >>< >>< >>< >>< >>--- >> > >> > >> > >> > >> > >> > >>181,207c184,204 >>< >>< ssi >>< >>< org.apache.catalina.servlets.SsiInvokerServlet >>< >>< >>< buffered >>< 1 >>< >>< >>< debug >>< 0 >>< >>< >>< expires >>< 666 >>< >>< >>< isVirtualWebappRelative >>< 0 >>< >>< >>< ignoreUnsupportedDirective >>< 1 >>< >>< 4 >>< >>--- >> > >> > ssi >> > >>org.apache.catalina.servlets.SSIServlet >> > >> > buffered >> > 0 >> > >> > >> > debug >> > 0 >> > >> > >> > expires >> > 666 >> > >> > >> > isVirtualWebappRelative >> > 0 >> > >> > 4 >> > >>209d205 >>< >> >> ------------------------------------------------------------------------ >> Name: ssi.jar >> ssi.jar Type: Java Archive (application/java-archive) >> Encoding: base64 >> Download Status: Not downloaded with message >> >> ------------------------------------------------------------------------ >>-- >>To unsubscribe, e-mail: >>For additional commands, e-mail: >> >> > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: