How about something like the following?
# mod_perl 1.29 Configuration:
# Set up apache so that all pages served with a .pl or .pm extension will
be executed
# via the mod_perl package which is statically linked in with Apache.
<FilesMatch "\.(pl|pm)$">
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader Off
Options +ExecCGI
</FilesMatch>
# cgi configuration
<FilesMatch "\.cgi$">
SetHandler cgi-script
Options +ExecCGI
</FilesMatch>
AliasMatch ^/index.* /some/path/to/srcript/real_index.pl
----- Original Message ----
From: Jonathan Vanasco <[EMAIL PROTECTED]>
To: Mod_Perl Mailing List <[email protected]>
Sent: Wednesday, May 17, 2006 10:41:30 AM
Subject: apache url mapping question
this isn't necessarily a mod_perl question, but it is for a mod_perl
app, and I'm using mp to generate the location directives in apache
i need to get the following urls mapped onto a handler in httpd.conf
/
/index
/index.*
i thought about something like this
i'm thinking that maybe its best to do /index.html and then do a
mod_rewrite or rediect to index.html
suggestions?