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

 

Reply via email to