Apache-MIMEMapper

 view release on metacpan or  search on metacpan

MIMEMapper.pm  view on Meta::CPAN


=head1 DESCRIPTION

Apache::MIMEMapper extends the core AddHandler directive to allow you
to dispatch different PerlHandlers based on the file extension of the
requested resource.  This means that you can now have .pl
scripts under htdocs/ (or wherever) without resorting to a
<Files> based configuration.  

Apache::MIMEMapper also adds the ability to stack PerlHandlers
transparently using Apache::Filter.  Handlers are added to the
PerlHandler stack in the order they appear in the httpd.conf file -
PerlSetVar Filter On is set if more than one extension is associated
with a specific Perl module.

=head1 EXAMPLE

PerlModule Apache::MIMEMapper
PerlTypeHandler Apache::MIMEMapper

AddHandler Apache::RegistryFilter .pl

README  view on Meta::CPAN


DESCRIPTION

Apache::MIMEMapper extends the core AddHandler directive to allow you
to dispatch different PerlHandlers based on the file extension of the
requested resource.  This means that you can now have .pl
scripts under htdocs/ (or wherever) without resorting to a
<Files> based configuration.  

Apache::MIMEMapper also adds the ability to stack PerlHandlers
transparently using Apache::Filter.  Handlers are added to the
PerlHandler stack in the order they appear in the httpd.conf file -
PerlSetVar Filter On is set if more than one extension is associated
with a specific Perl module.

EXAMPLE

PerlModule Apache::MIMEMapper
PerlTypeHandler Apache::MIMEMapper

AddHandler Apache::RegistryFilter .pl



( run in 0.473 second using v1.01-cache-2.11-cpan-a1d94b6210f )