Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 38842 invoked from network); 26 Sep 2006 04:52:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 04:52:08 -0000 Received: (qmail 75238 invoked by uid 500); 26 Sep 2006 04:51:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74940 invoked by uid 500); 26 Sep 2006 04:51:58 -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 74929 invoked by uid 99); 26 Sep 2006 04:51:58 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 21:51:58 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=xiong900@yahoo.com; spf=permerror Authentication-Results: idunn.apache.osuosl.org header.from=xiong900@yahoo.com; domainkeys=good X-ASF-Spam-Status: No, hits=4.8 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_MESSAGE Received-SPF: error (idunn.apache.osuosl.org: domain yahoo.com from 206.190.49.96 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [206.190.49.96] ([206.190.49.96:23129] helo=web53306.mail.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 80/40-05106-CE1B8154 for ; Mon, 25 Sep 2006 21:51:56 -0700 Received: (qmail 65223 invoked by uid 60001); 26 Sep 2006 04:51:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=h4hzJ4Ut9+yDpG4CcfF3nMAdIzTY0ae/GkKzX0SJZAbIMTbJoguA8FyJEKo0Ak9wjAqUNtwMHOCGTF3KeMO1yX2vRll4iZGoJ1uAOJ2fUlrkOVEu1WVeq8Ak2Y3zMQv7wQ6fA9tJdL/zXQfZQheSFwcwuckpyxP9gxNHnceQKV0= ; Message-ID: <20060926045153.65221.qmail@web53306.mail.yahoo.com> Received: from [75.17.218.104] by web53306.mail.yahoo.com via HTTP; Mon, 25 Sep 2006 21:51:53 PDT Date: Mon, 25 Sep 2006 21:51:53 -0700 (PDT) From: long To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1701787029-1159246313=:62822" Content-Transfer-Encoding: 8bit Subject: [users@httpd] mod_jk help X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1701787029-1159246313=:62822 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'd looked and searched the internet and found nothing that tell me how to configure apache to look for static files at its side and if it can't find them then forward requrests to tomcat. I was hoping if someone can help me. I have a redhat linux box with apache2.0.x and tomcat 5.5 with jdk 4.1.x. My mod_jk configurations are working to a degree. Apache is serving all static contents and tomcat is serving all dynamic contents. The problem is that if any of the static contents got put into tomcat, they will not be found. SInce tomcat can also serve static contents, I'll like apache to forward the requests to tomcat as a kind of "failover" approach. Clusting and load-balancing is pretty much out of the picture. Thanks in advance, Long --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. --0-1701787029-1159246313=:62822 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I'd looked and searched the internet and found nothing that tell me how to configure apache to look for static files at its side and if it can't find them then forward requrests to tomcat.  I was hoping if someone can help me.
 
I have a redhat linux box with apache2.0.x and tomcat 5.5 with jdk 4.1.x.  My mod_jk configurations are working to a degree.  Apache is serving all static contents and tomcat is serving all dynamic contents.  The problem is that if any of the static contents got put into tomcat, they will not be found.  SInce tomcat can also serve static contents, I'll like apache to forward the requests to tomcat as a kind of "failover" approach.  Clusting and load-balancing is pretty much out of the picture.
 
Thanks in advance,
Long


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail. --0-1701787029-1159246313=:62822--