httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Vaughan" <>
Subject [users@httpd] Error updating cache on Windows
Date Tue, 10 Mar 2009 10:07:43 GMT
I am running Apace 2.2.11 on Windows XP as a caching proxy.  

An attempt by Apache to refresh a cached header always results in an
access denied warning.  This is shown in the error log as:
cache_storage.c(272): Cached response for  <url>  isn't fresh.
Adding/replacing conditional request headers.
(OS 5)Access is denied. : disk_cache: rename tempfile to datafile failed

I have reproduced this on 2.2.10 and 2.2.11, using both the available
binaries and by building from scratch.

Whilst this problem would appear to be a manifestation of the bug, the suggested
"Header unset Vary" work around fails to provide a solution.

Please can you advise:-
1)	What is the impact of this failure - is it just the cached
header that will be incorrect or, if the contents have changed, will
that also be wrong.
2)	Is there a work around.
3)	Is there a patch for this problem.

I have been testing using a simplified httpd.conf file, the contents of
which is contained below.


ServerRoot "C:/Apache22"

LoadModule authz_host_module modules/
LoadModule headers_module modules/
LoadModule cache_module modules/
LoadModule disk_cache_module modules/
LoadModule isapi_module modules/
LoadModule log_config_module modules/
LoadModule mime_module modules/
LoadModule negotiation_module modules/
LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_http_module modules/

DocumentRoot "C:/Apache22/htdocs"

<Directory />
  Options FollowSymLinks
  Order deny,allow
  Deny from all

Listen 80
ProxyRequests On
<Proxy *>
  Order Deny,Allow
  Deny from all
  Allow from 192.168.0

<Directory "C:/ApacheCache"> 
  AllowOverride None 
  Order allow,deny 
  Allow from all 
CacheRoot c:/ApacheCache
CacheEnable disk /
Header unset Vary

<Directory "C:/Apache22/htdocs">
  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all

ErrorLog "c:/Apache22/logs/error.log"
LogLevel debug 

LogFormat "%h %t \"%r\" %>s %B %X" common
CustomLog "logs/access.log" common

TypesConfig conf/mime.types

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message