rendered paste bodyPerlModule HTML::Mason::ApacheHandler
DefaultType "text/html; charset=utf-8"
AddDefaultCharset utf-8
# By default, Mason handles everything
<Directory /var/www-tools>
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
Options Includes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# But we don't want bare autohandler or dhandler served by Apache
<LocationMatch "handler$">
SetHandler perl-script
PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>
<Location /js>
Options Indexes FollowSymLinks
SetHandler default-handler
</Location>