You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Axel-Stéphane SMORGRAV <Ax...@europe.adp.com> on 2005/12/02 16:49:45 UTC
RE: [users@httpd] Disk Cache - not storing URLs
> [Wed Nov 30 18:34:46 2005] [info] disk_cache: Could not store URL 10.209.25.130/images/map/Transport_icon_Train.gif? [13]
I believe the trailing [13] refers to the error returned by a failed system call. Looking at /usr/include/sys/errno.h tells me that error 13 is EACCES which translates into "Permission denied".
This means that your web server is not authorised to write files in the Cache Root.
-ascs
________________________________
From: Arindam Bhattacharjee [mailto:arbhattacharjee@sapient.com]
Sent: Wednesday, November 30, 2005 2:20 PM
To: users@httpd.apache.org
Subject: [users@httpd] Disk Cache - not storing URLs
I am trying to cache the static images that my application needs to render. I made the following entries in the httpd.conf
<Directory "/var/www/html/images">.
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
ExpiresDefault A300
<FilesMatch "\.(gif|jpg|png|js|css)$">
ExpiresDefault A2592000.
</FilesMatch>
</Directory>
ExpiresActive On
ExpiresDefault A3
CacheEnable disk /images
CacheRoot "/var/apps/cache"
CacheSize 409600
CacheDirLevels 5
CacheDirLength 3
CacheMaxExpire 86400
CacheExpiryCheck Off
I try to hit the URL http://10.209.25.130/images/map/Transport_icon_Train.gif
I can see the image coming in the browser but the following entry in the error_log
[Wed Nov 30 18:34:46 2005] [info] disk_cache: Could not store URL 10.209.25.130/images/map/Transport_icon_Train.gif? [13]
Any help ?
Thanks,
Arindam Bhattacharjee
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org