+ -
当前位置:首页 → 问答吧 → apache缓存问题,急!!!!!!!

apache缓存问题,急!!!!!!!

时间:2010-12-13

来源:互联网

我用了apache + weblogic 集群,现在将weblogic集群迁移到另外的机器,apache配置没有变,原来是正常的,

现在访问网站时,图片不能显示, 但在图片位置点右键属性,复制链接直接访问是可以的,不知道是什么原因?

一下是apache的缓存配置部分

<IfModule mod_cache.c>
  CacheIgnoreCacheControl On  
  CacheIgnoreNoLastMod On  
  CacheDefaultExpire 1200  
  CacheMaxExpire 1800  
  CacheLastModifiedFactor 0.05 
   
  UseCanonicalName On
  CacheIgnoreCacheControl On  
  CacheIgnoreNoLastMod On  
   

  <IfModule mod_disk_cache.c>

  CacheRoot /opt/diskCache
  CacheMinFileSize 20
  CacheMaxFileSize 1048576
  CacheDirLevels 3  
  CacheDirLength 2
   
  CacheEnable disk /skin
  CacheEnable disk /portal
  CacheEnable disk /km
  CacheEnable disk /resource
  CacheEnable disk /admin/images
  CacheEnable disk /admin/css
  CacheEnable disk /admin/vfs
   
  CacheEnable disk /wssw/images
   

  </IfModule>  



  <IfModule mod_mem_cache.c>


  MCacheSize 1572864  
  MCacheMaxObjectCount 65536  
  MCacheMinObjectSize 20  
  MCacheMaxObjectSize 1048576
  MCacheMaxStreamingBuffer 1048576  
  MCacheRemovalAlgorithm LRU 
   
  CacheEnable mem /skin
  CacheEnable mem /portal
  CacheEnable mem /km
  CacheEnable mem /resource
  CacheEnable mem /admin/images
  CacheEnable mem /admin/css
  CacheEnable mem /admin/vfs
   
  CacheEnable mem /wssw/images
   
   

  </IfModule>


</IfModule>

作者: gghuyangg   发布时间: 2010-12-13

看着很晕啊啊。。

作者: juanmiao   发布时间: 2010-12-13

热门下载

更多