Code2HTML converts a program source code to syntax highlighted HTML. It may be called as a CGI script. It can also handle include commands in HTML files.
Have a look at the examples.
It currently supports the following languages:
Ada
Awk
C
C++
HTML
Java
JavaScript
m4
Makefile
Pascal
Perl
SQL
ruby
povray
groff (very incomplete)