Recently I read that Apache 2.2 has a new mod to patch outputs on the fly.
mod_substitute provides a mechanism to perform both regular expression and fixed string substitutions on response bodies.
The feature is useful when I setup testing/development environment. I can replace hostname without touching the content/code.
How can I do similar configuration in lighttpd?