James Stalker wrote:
> Does anyone here have Directory working in Perl sections in mod_perl
> 1.25 or above?
It's funny that you mention this because, now that I think
about it, I always set up directory and location blocks inside
virtual host blocks, e.g.:
$VirtualHost{"_default_:80"} = {
ServerName => $hostname,
DirectoryIndex => 'index.html index.shtml index.epl',
etc...
Location => {
'/admin/perl-status' => {
SetHandler => 'perl-script',
PerlHandler => 'Apache::Status'
},
etc...
},
FilesMatch => {
q(.*\\.epl$) => {
SetHandler => 'perl-script',
PerlHandler => 'HTML::Embperl',
Options => '+ExecCGI'
},
etc...
},
Directory => {
directory stuff goes here
}
}
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978