apache/mod_perl handler for SML::Document