Error updating cache on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
https://issues.apache.org/bugzilla/show_bug.cgi?id=38827, 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.

Thanks
Dave 

ServerRoot "C:/Apache22"

LoadModule authz_host_module modules/mod_authz_host.so
LoadModule headers_module modules/mod_headers.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so

DocumentRoot "C:/Apache22/htdocs"

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

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

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

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

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux