"Tacio A.G. Santos" <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to