httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha a <ahat...@yahoo.com.cn>
Subject [users@httpd] mod_file_cache works wierdly
Date Tue, 10 Feb 2009 16:03:42 GMT
hi, guys,

My httpd is 2.2.3 on FC3, compiled from source codes.
These days, I am working on mod_file_cache for improve the performance.

So, I used apxs to generate the .so, and modified the httpd.conf

and I also added
CacheFile /path/to/targetFile
or
MMapFile /path/to/targetFile

at the end of httpd.conf.


but I found a strange issue:
if the old file content is:
abc
then I change into:
1234567

after I refresh the file in browser, I got 123.
That is new content appeared(that should NOT)
and the length of new content is the length of old content.
and the rest of new content disappeared.

seems mod_file_cache has some effect, but not correct.

Thanks for any help.




      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
Mime
View raw message