Hi,
I'm trying to set a special Perl handler for the "homepage" or index
page of a site. A directive like:
<Location />
SetHandler perl-script
PerlResponseHandler Cool::Handler
</Location>
causes all requests to be served by Cool::Handler. However, I want
only requests that match ^/$ to be served in that manner. One hacky
way I found to use mod_rewrite like is this:
<Location /index>
SetHandler perl-script
PerlResponseHandler Cool::Handler
</Location>
RewriteRule ^/index.html /index [R=301]
But, I think there must be a better way. What's the best way for me
to specify a handler which matches the "/" request?
thanks
dave