On Mon, 2006-01-16 at 14:10 +0000, Paul Johnston wrote: > It's currently on my server (which hosts other apps), and I want all > (and only) files on the specific virtual host ending in ".app" (ie like > everything ending in .pl) to be handled by mod_perl.
Use a FilesMatch directive in your httpd.conf. Here's an example using
mod_perl 1 (slightly different if you're using mod_perl 2):
<FilesMatch "^.*\.app$">
SetHandler perl-script
PerlHandler Apache::Registry
</FilesMatch>
- Perrin
