Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 11738 invoked from network); 25 Sep 2007 21:50:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 21:50:31 -0000 Received: (qmail 86721 invoked by uid 500); 25 Sep 2007 21:50:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 86708 invoked by uid 500); 25 Sep 2007 21:50:12 -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 86697 invoked by uid 99); 25 Sep 2007 21:50:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 14:50:12 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marcop123@gmail.com designates 72.14.214.238 as permitted sender) Received: from [72.14.214.238] (HELO hu-out-0506.google.com) (72.14.214.238) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 21:50:11 +0000 Received: by hu-out-0506.google.com with SMTP id 22so1033956hug for ; Tue, 25 Sep 2007 14:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=qdGcNFjaJ8GBfxXbJY2gDs05TskC87CdSx/hhvxo4D4=; b=ZIioEnhQmHBCWR5GzL5giQk9F/Z+Z0pAaImt6K7+TgplMAcIRItCdtM0bx6rdGfnQ7CX3SZkAx5GINWqU6ACrDGokndLkCLIiArlTk8nerC2lCXBgoB0wMWm44j32YOoojUS4tA8OOzxl1S5j9+du59cvrhEIVnFEol7OkIp1cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=bODKjIqjdQdLl9cEXMHTvAT2aFQRao3W2Nnb7ZydQq5u8R075IuM50fCD8IUoW0zc0m7zFm0P3kUy73P+1G+CFHoBrbbzd3m/pKZlZ+XHvbK9QFDfIKm2xyO3S/pdBdU3MKPUM7AUjvMr9EsbOQoO2+jNXtuTcMatgQn1mZtzV4= Received: by 10.67.19.13 with SMTP id w13mr1327345ugi.1190756988714; Tue, 25 Sep 2007 14:49:48 -0700 (PDT) Received: by 10.67.26.1 with HTTP; Tue, 25 Sep 2007 14:49:48 -0700 (PDT) Message-ID: <859813fd0709251449v6005a965v83ed2c56b89ae5a1@mail.gmail.com> Date: Tue, 25 Sep 2007 17:49:48 -0400 From: "Mark Paulston" To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5643_5372426.1190756988706" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] .jsp files do not resolve "include file" string, when CNAME address is used ------=_Part_5643_5372426.1190756988706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, running apache 1.3.4 on Solaris 8. Have a FILE.jsp which has two "include file" strings referenced by it. First, FILE.jsp works just fine when the FQDN (fully qualified domain name) is used; ie, http://HOSTNAME.DOMAIN.com/FOLDER_NAME/FILE.jsp resolves/imports the .html files referenced by the "include file" string inside the FILE.jspbefore it gives it to the client. However, when a CNAME address is used ( a canonical address referencing the FQDN), such as http://CNAME.DOMAIN.com/FILE.jsp , the .html files referenced by the "include file" string inside the FILE.jsp, are not being resolved before the data is being sent over to the client, as a result, the FILE.jsp is being sent over to the client the way it is, (unimporting the two files referenced by the strings.) Note: CNAME.NAME.com is a canonical name of FQDN, the CNAME.NAME.com is specified on the httpd.confas a Virtual Host entry whose DocumentRoot points to DOCROOT/FOLDER_NAME. Thanks, Mark ------=_Part_5643_5372426.1190756988706 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello, running apache 1.3.4 on Solaris 8.
Have a FILE.jsp which has two "include file" strings referenced by it.
 
First, FILE.jsp works just fine when the FQDN (fully qualified domain name) is used;
ie, http://HOSTNAME.DOMAIN.com/FOLDER_NAME/FILE.jsp resolves/imports the .html files referenced by the "include file" string inside the FILE.jsp before it gives it to the client.
 
However, when a CNAME address is used ( a canonical address referencing the FQDN), such as http://CNAME.DOMAIN.com/FILE.jsp , the .html files referenced by the "include file" string inside the FILE.jsp, are not being resolved before the data is being sent over to the client, as a result, the FILE.jsp is being sent over to the client the way it is, (unimporting the two files referenced by the strings.)
 
Note: CNAME.NAME.com is a canonical name of FQDN, the CNAME.NAME.com is specified on the httpd.conf as a Virtual Host entry whose DocumentRoot points to DOCROOT/FOLDER_NAME.
 
Thanks,
Mark
------=_Part_5643_5372426.1190756988706--