Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 89533 invoked from network); 9 Dec 2005 11:02:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Dec 2005 11:02:04 -0000 Received: (qmail 57999 invoked by uid 500); 9 Dec 2005 11:01:51 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57811 invoked by uid 500); 9 Dec 2005 11:01:49 -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 57799 invoked by uid 99); 9 Dec 2005 11:01:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 03:01:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [145.58.30.187] (HELO smtp1.mail.omroep.nl) (145.58.30.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 03:01:48 -0800 Received: from relay1.mail.omroep.nl (relay1.mail.omroep.nl [145.58.6.183]) by smtp1.mail.omroep.nl (Postfix MTA - Publieke Omroep Internet Services) with ESMTP id C2768252DBC for ; Fri, 9 Dec 2005 12:01:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by relay1.mail.omroep.nl (Postfix MTA - Publieke Omroep Internet Services) with ESMTP id B08DD23EE77 for ; Fri, 9 Dec 2005 12:01:27 +0100 (CET) Received: from relay1.mail.omroep.nl ([145.58.6.183]) by localhost (relay1.mail.omroep.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11085-08 for ; Fri, 9 Dec 2005 12:01:27 +0100 (CET) Received: from tron.omroep.nl (tron.omroep.nl [145.58.31.20]) by relay1.mail.omroep.nl (Postfix MTA - Publieke Omroep Internet Services) with ESMTP id 9A9B023EE64 for ; Fri, 9 Dec 2005 12:01:27 +0100 (CET) Received: by tron.omroep.nl (Postfix, from userid 1008) id 9237A1004D31; Fri, 9 Dec 2005 12:01:27 +0100 (CET) Date: Fri, 9 Dec 2005 12:01:27 +0100 From: Dick Snippe To: users@httpd.apache.org Message-ID: <20051209110127.GG6402@tech.omroep.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Clue: no X-Virus-Scanned: Publieke Omroep Internet Services X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_cache broken in 2.2.0 ? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, we use apache-2.0.x as a reverse caching proxy, using mod_cache, mod_mem_cache, mod_proxy and mod_proxy_http. Basically by saying CacheEnable mem / ProxyPass / http://tomcatserver:8888/ (okay, there is some more configuration involved, but this is the basic idea. We've been running apache-2.0 in this setup for almost 3 years now, so we're quite familiar with mod_cache in 2.0). When trying a similar setup in apache-2.2.0 this fails. Entries appear to be cached, but the hostname that is used when stuff is put in the cache is "_default_". On the next hit, apache checks to see if it is cached already, but here it doesn't use "_default_", but the supplied http Host: name. So, it can't find the entry in the cache. I'm inclined to say that this behaviour is caused by apparently faulty logic in modules/cache/cache_storage.c, around line 357: /* We are a proxied request, with no hostname. Unlikely * to get very far - but just in case */ hostname = "_default_"; Does anybody else have this problem? Could it have something to do with UseCaninicalName On/Off and/or name based virtual hosting? -- Dick Snippe - een Coordinator Publieke Omroep Internet Services Gebouw 12.401 (peperbus) Sumatralaan 45 Hilversum \ fight war tel +31 35 6774252, email beheer@omroep.nl []() \ not wars --------------------------------------------------------------------- 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