Debian GNU/Linux lenny 上で pound + lighttpd にてWebを公開している。 このとき、lighttpd のアクセスログに pound へアクセスしたクライアントのIPアドレスが記録されるようにlighttpd の設定を変更。 lighttpd のバージョンは 1.4.19-5 だった。 $ ls -l /usr/lib/lighttpd/mod_extforward.so -rw-r--r-- 1 root root 7660 2008-09-27 19:25 /usr/lib/lighttpd/mod_extforward.so なので最初から extforward モジュールは入っているらしい。 /etc/lighttpd/lighttpd.conf への追加・修正 server.bind = "localhost" ⇒ /etc/hosts を参照? server.port = 8000 netstat すると tcp6 0 0 ::1:8000 :::* LISTEN server.modules += ("mod_extforward") extforward.forwarder = ("::1" => "trust")