Newbie questions

2 views
Skip to first unread message

Mosh

unread,
Jul 8, 2008, 8:58:33 AM7/8/08
to mod_cache
Hi,

I'm a mod_cache newbie and would like to ask the following two
questions:

1.) Compiling available mod_cache source tarballs (like
lighttpd-1.4.19.modcache.v.1.4.4.tar.gz) result into a complete
lighttpd installation. I expected to get a separate module which can
be used with an existing installation of Lighty. Can I just use the
compiled mod_cache.(la|so) with an existing lighty installation of
same version on the same machine? I ask this because doing it this way
lighty crashes without any notice.

2.) Do I have to enable mod_proxy in order to use mod_cache or is
there an alternative

Thanks

Hongyu

unread,
Jul 8, 2008, 9:32:24 AM7/8/08
to mod_...@googlegroups.com
1) it doesn't work if simply copy mod_cache.so to original lighttpd installation because
    lighttpd-1.4.19.modcache.v.1.4.4.tar.gz changed some global data structure of  original lighttpd

2) mod_cache + mod_proxy is the most common usage. However, It's not difficulty to patch mod_fastcgi.c to let mod_cache save
    mod_fastcgi's http output to local disk :)

Regards,

QHY

Mosh

unread,
Jul 8, 2008, 9:57:24 AM7/8/08
to mod_cache
> 2) mod_cache + mod_proxy is the most common usage. However, It's not
> difficulty to patch mod_fastcgi.c to let mod_cache save
> mod_fastcgi's http output to local disk :)

mod_fastcgi would be my favour module. Can you give me advise how to
patch its source or would you like to include it into mod_cache
project?

Hongyu

unread,
Jul 8, 2008, 11:16:25 AM7/8/08
to mod_...@googlegroups.com
Please wait for my mod_fastcgi.patch. I need little more test of it.
Reply all
Reply to author
Forward
0 new messages