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>
现在访问网站时,图片不能显示, 但在图片位置点右键属性,复制链接直接访问是可以的,不知道是什么原因?
一下是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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28