Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79289 invoked from network); 12 Jan 2006 21:28:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jan 2006 21:28:44 -0000 Received: (qmail 50279 invoked by uid 500); 12 Jan 2006 21:28:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 50258 invoked by uid 500); 12 Jan 2006 21:28:31 -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 50247 invoked by uid 99); 12 Jan 2006 21:28:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 13:28:31 -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 [128.117.91.219] (HELO sam.globe.ucar.edu) (128.117.91.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 13:28:30 -0800 Received: from hamburg (athens.globe.ucar.edu [128.117.92.31]) by sam.globe.ucar.edu (Postfix) with SMTP id CADF0258009 for ; Thu, 12 Jan 2006 14:28:09 -0700 (MST) Message-ID: <03c601c617bf$15c963b0$1f5c7580@globe.ucar.edu> From: "David Salisbury" To: References: <8C29B2F93BAE9047A906EF6D6F9C5D43012F9836@exchange2k301.gaia.fr> Date: Thu, 12 Jan 2006 14:28:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Conf file macros? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Just wondering ( I don't see it in the docs ) if one can define "variables" in the Apache conf. files. i.e. I have seen people write something along the lines of %{HTTP_REFERER} in their conf file. So.. is there any support for a sort of variable substitution within the conf file.. e.g. %DIR=/usr/local/ and then ServerRoot %{DIR} I'm doubting it but this would be nice. -Dave ----- Original Message ----- From: "Axel-St�phane SMORGRAV" To: Sent: Thursday, January 12, 2006 7:36 AM Subject: RE: [users@httpd] Apache reverse and caching proxy How does this work for you: it depends on what you want. If you want certain URLs to be revalidated with every request, you should follow Joshua's advice and make sure that those resources are served with Cache-Control: must-revalidate. If the source server is an Apache and the resources are static files, you can probably use mod_headers (Header set or Header append) to achieve this. The downside of this strategy is that it makes caching the resource on the reverse proxy more or less pointless. If you can accept a certain delay between the time where the source is updated and the update becomes effective for the client, playing with CacheDefaultExpires may get you there. The RP cache will be revalidated every time the cache entry becomes stale, and you can determine the interval using CacheDefaultExpires. That will reduce the number of requests that need to be forwarded all the way to the source. BR -ascs ________________________________ From: Wim.Van.Leuven@ldc.be [mailto:Wim.Van.Leuven@ldc.be] Sent: Thursday, January 12, 2006 3:27 PM To: users@httpd.apache.org Subject: RE: [users@httpd] Apache reverse and caching proxy Hello Axel-St�phane, If I can follow what you are trying to tell me, I should add the "expiresactive on" directive on the source server instead of the caching server? Axel-St�phane SMORGRAV 12/01/2006 15:12 Please respond to users@httpd.apache.org --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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