Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 77566 invoked from network); 6 Jul 2005 13:22:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2005 13:22:23 -0000 Received: (qmail 28771 invoked by uid 500); 6 Jul 2005 13:22:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 28749 invoked by uid 500); 6 Jul 2005 13:22:06 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 28735 invoked by uid 99); 6 Jul 2005 13:22:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 06:22:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of christopher.k.hall@gmail.com designates 64.233.170.193 as permitted sender) Received: from [64.233.170.193] (HELO rproxy.gmail.com) (64.233.170.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 06:22:06 -0700 Received: by rproxy.gmail.com with SMTP id c16so1132379rne for ; Wed, 06 Jul 2005 06:22:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fOxtsoSs31kcmpVpd6nxlbonBg80lB6YgvVzS4GEQ9zNrX/bxiVbLczw7JCHRtyoJxEFIJhTI3x8G1afDCSDNb3KJEpV2HRWfYYSpAREYaM723gFSH0k49Q1r3NcbxHj0NXwhf632P9S3veRT65SE5t9Hy/OeVWIKWk29l42y2s= Received: by 10.38.67.12 with SMTP id p12mr4302166rna; Wed, 06 Jul 2005 06:22:02 -0700 (PDT) Received: by 10.38.161.63 with HTTP; Wed, 6 Jul 2005 06:22:01 -0700 (PDT) Message-ID: Date: Wed, 6 Jul 2005 09:22:01 -0400 From: Chris Hall Reply-To: Chris Hall To: users@httpd.apache.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] strange problem when SSI including jsp X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've recently setup apache 2.0.49 (SuSE Enterprise Linux 9 rpm package) and Tomcat 5.5.9 (downloaded from jakarta site). Everything appears to be working great. First some information: moving apps from Websphere/IBM HTTP server to Tomcat/Apache web document root: /srv/www/websiteX/htdocs websiteX tomcat root: /usr/local/tomcat/webapps/websiteX both directories have an "include" directory. this is the way it was setup before i got here. static content (html, shtml, images, etc) is the the web root, jsp and servlets in the tomcat root. i've setup apache/tomcat so that static content gets handled by apache and jsp/servlets get handed off to tomcat. now the problem: ----- index.shtml snippet ----- ... html ... ... more html and more includes ... .. more html and more includes ... ----- snippet ----- the jsp gets handled by Tomcat just fine and gets included in the resulting HTML, however, every single include after that breaks. the Apache error log indicates that every SSI include after the jsp include is looking in: /srv/www/websiteX/htdocs/include/include from the apache error log: [Wed Jul 06 08:17:28 2005] [error] [client x.x.x.x] File does not exist: /srv/www/websiteX/htdocs/include/include [Wed Jul 06 08:17:28 2005] [error] [client x.x.x.x] unable to include "include/bottomnav.htm" in parsed file /srv/www/websiteX/htdocs/index.shtml note the extra "include" directory. of course, this directory does not exi= st. If I comment out the jsp SSI include, all the SSI includes after it work. Also, if i prepend all the include paths with a "/", everything works great. the issue is that this was working under websphere/ibm http server without the "/"'s. i've googled all over the place for answers and can't find any discussions about this problem. anyone have any ideas? thanks. Chris --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org