Apache::PrettyText is a simple Apache mod_perl handler for making served text files look a little better than they might otherwise. Converts the text file to HTML: makes the background white, extracts a reasonable title, escapes HTML special characters, detabs, wraps everything in a PRE tag, and makes URLs “hot”.

Project page on CPAN