============================below is strace lighttpd.pid=========
ioctl(6981, FIONREAD, [53036]) = 0
read(6981, "GET /1.jpg HTTP/1.0\r\nHost: 192.1"..., 53055) = 53036
brk(0x1b148000) = 0x1b148000
write(3, "2009-08-19 14:29:31: (mod_cache."..., 79) = 79
stat64("/opt/cache/192.168.1.242:3001/1.jpg", 0xbf92d0ac) = -1 ENOENT
(No such file or directory)
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6982
fcntl64(6982, F_SETFD, FD_CLOEXEC) = 0
fcntl64(6982, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(6982, {sa_family=AF_INET, sin_port=htons(3001),
sin_addr=inet_addr("192.168.1.242")}, 16) = -1 EINPROGRESS (Operation
now in progress)
epoll_ctl(6, EPOLL_CTL_ADD, 6982, {EPOLLOUT|EPOLLERR|EPOLLHUP,
{u32=6982, u64=6982}}) = 0
setsockopt(6982, SOL_SOCKET, SO_DEBUG, NULL, 0) = -1 EINVAL (Invalid
argument)
epoll_ctl(6, EPOLL_CTL_DEL, 6981, {0, {u32=0, u64=0}}) = 0
time(NULL) = 1250663371
=======================================================
It looks can find cache file but can't write file to cache
I think that is my lighttpd proxy error but I don't know how to set it
在 2009-08-19三的 13:44 +0800,shellcode写道:
> mod_fastcgi output contains http headers which tell modcache don't
> cache, such as 'Set-Cookie:', 'Accept-Encoding', 'Vary:' and so on