RE: [users@httpd] Disk Cache - not storing URLs

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

 



> [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@xxxxxxxxxxx] 
Sent: Wednesday, November 30, 2005 2:20 PM
To: users@xxxxxxxxxxxxxxxx
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@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