Configuration Under mod_perl
- The simplest possible mod_perl configuration:
SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler
- All requests are handled by Mason.
- This is probably a bad idea.
- Mason should not be parsing images as components, for example.
- You probably want to limit what Mason handles:
<LocationMatch "\.mhtml$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </LocationMatch>