kses is an HTML/XHTML security filter that removes all unwanted HTML elements and attributes, no matter how malformed the HTML input you give it. It also does several checks on attribute values. It can be used to avoid cross-site scripting (XSS), buffer overflows, and denial of service attacks. It is used by popular programs such as WordPress and Geeklog.
Freshmeat is falling behind on Apache versions. The current ones are 2.0.52 and 1.3.31.
Re: http://www2m.biglobe.ne.jp/~dolphin/lha/prog/lha-114i.tar.gz is the best so far
1.00 has all those things. It's a shar archive, so you have to run some shell scripts before you see them.