Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63672 invoked by uid 500); 23 May 2002 11:49:18 -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 63659 invoked from network); 23 May 2002 11:49:18 -0000 Message-ID: <3CECD73C.1030605@fokus.gmd.de> Date: Thu, 23 May 2002 13:49:16 +0200 From: "Tacio A.G. Santos" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: httpd-2.0.36 - mod_cache problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 If we manually changed it (chmod 600 *) the file is served from disk (cache) otherwise apache gets it again from the originating server. Another problem is that even if it gets from the cache it somehow changes the Content-Type header to text/plain so the browser shows the html source file instead of rendering the page. This test was also performed using the latest (actually yesterday version) httpd2 cvs version. I've started attaching a debugger and digging into the code but i do need some help. Could someone point me where can i get more info about mod_cache? Have i overlooked some simple thing? Does anybody have a suggestion what else should i try? Thanks in advance, Tacio PS: I configure it with: ./configure --prefix=/home2/apps/web/apache2 --enable-proxy=shared \ --enable-proxy-connect=shared --enable-proxy-ftp=shared \ --enable-proxy-http=shared --enable-cache=shared --enable-disk-cache=shared \ --enable-mem-cache=shared 2>&1> log_configure.txt In my httpd.conf i have: ProxyRequests On Order deny,allow Deny from all Allow from .fokus.gmd.de sitak localhost localhost.ailab.fokus.gmd.de ProxyVia On CacheOn On CacheRoot /home2/apps/web/apache2/proxy CacheSize 4096 CacheEnable disk / CacheDirLevels 1 CacheDirLength 5