|
NAMEText::MicroMason::ApacheHandler - Use MicroMason from mod_perlSYNOPSISIn your httpd.conf or equivalent Apache configuration file:PerlModule Text::MicroMason::ApacheHandler <Files *.mm> SetHandler perl-script PerlHandler Text::MicroMason::ApacheHandler </Files> In your document root or other web-accessible directory: <% my $visitor = $r->connection->remote_host(); %> <html> Hello there <%= $visitor %>! The time is now <%= localtime() %>. </html> DESCRIPTIONCaution: This module is new, experimental, and incomplete. Not intended for production use. Interface subject to change. If you're interested in this capability, your feedback would be appreciated.ConfigurationThe following configuration parameters are supported:
SEE ALSOFor an overview of this templating framework, see Text::MicroMason.This is a mixin class intended for use with Text::MicroMason::Base. For distribution, installation, support, copyright and license information, see Text::MicroMason::Docs::ReadMe.
Visit the GSP FreeBSD Man Page Interface. |