This is a discussion on Cache errors running on Windows - Apache ; I’m running Apache 2.2.11 (on Windows XP) as a reverse caching proxy situated at the edge of the local network, but I keep getting the following warning: (OS 5)Access is denied. : disk_cache: rename tempfile to datafile failed: The error ...
I’m running Apache 2.2.11 (on Windows XP) as a reverse caching proxy situated at the edge of the local network, but I keep getting the following warning:
(OS 5)Access is denied. : disk_cache: rename tempfile to datafile failed:
The error is generated for about 20% of cache access, but this is just with one PC using Apache. This error occurs whether Apache is run as a service or a console app. I’ve googled the problem and, although the only suggestions I’ve seen are :
- That the problem is caused by incorrect Apache rights (not a problem in this case)
- That a statement is required in httpd.conf to allow users access to the cache (added this, but it makes no difference).
Has anyone successfully solved this problem?
Relevant sections of my httpd.conf are included below.
Thanks
Dave
Code:<Proxy *> Order Deny,Allow Deny from all Allow from 192.168.0 </Proxy> <Directory "C:/Apache22/cacheroot"> AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_cache.c> # Dont cache cookies CacheIgnoreHeaders Set-Cookie # Don't cache the list of security updates CacheDisable http://security.update.server/update-list/ CacheDisable http://192.168.0.110/ # Following config relates to a disk cache - memory cache maybe used instead <IfModule mod_disk_cache.c> CacheRoot c:/Apache22/cacheroot CacheEnable disk / CacheDirLevels 5 CacheDirLength 3 CacheMaxFileSize 501024 </IfModule> </IfModule>