Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 70789 invoked by uid 500); 23 May 2002 12:00:33 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 70775 invoked from network); 23 May 2002 12:00:33 -0000 X-Authentication-Warning: rdu88-251-253.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu88-251-253.nc.rr.com To: dev@httpd.apache.org Subject: Re: httpd-2.0.36 - mod_cache problems References: <3CECD73C.1030605@fokus.gmd.de> From: Jeff Trawick Date: 23 May 2002 08:03:34 -0400 In-Reply-To: <3CECD73C.1030605@fokus.gmd.de> Message-ID: Lines: 36 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N "Tacio A.G. Santos" writes: > Hi, > I'm trying to configure mod_cache+mod_proxy, but mod_cache is not > working properly. One thing i found strange is that if you look in the > cache directory we have the following strange file permissions: > > -rw------- 1 webu webg 2326 May 22 16:41 wkL1JcPol1pQ.data > ---------- 1 webu webg 355 May 22 16:41 > wkL1JcPol1pQ.header Perhaps you could try this patch? Index: mod_disk_cache.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v retrieving revision 1.33 diff -u -r1.33 mod_disk_cache.c --- mod_disk_cache.c 17 May 2002 11:33:09 -0000 1.33 +++ mod_disk_cache.c 23 May 2002 11:59:03 -0000 @@ -548,7 +548,7 @@ rv = apr_file_open(&dobj->hfd, dobj->hdrsfile, APR_WRITE | APR_CREATE | APR_EXCL, - 0, r->pool); + APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { return rv; } Thanks, Jeff -- Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...