mod_file_cache works wierdly

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

 



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.



好玩贺卡等你发,邮箱贺卡全新上线!
[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