Hi Jonathan, two examples which I think are right, comments please folks!

Jonathan Vanasco wrote:

> i need to get the following urls mapped onto a handler in httpd.conf
> /
> /index
> /index.*



Option 1:


SetHandler perl-script
PerlResponseHandler My::Module


Option 2:

sub handler { my $r=shift;
$r->uri()=~/^/(index(\..*)?)?$/ and return Apache2::Const:ECLINED;
... code here...
}

John