E R wrote:
It seems that if there is a mod_perl handler installed at a location,
a mod_rewrite rule rewriting that location to another doesn't have any
effect.
I noticed that with mod_dir in Apache2 : it won't redirect for 'trailing slash' if a handler is configured for that location.

I add the redirection code to the handler myself :

   if ( $r->uri =~ /\/$/ ) {

       my $location = $r->uri . 'index.html' ;

       $r->headers_out->set(Location => $location);

       return Apache2::Const::REDIRECT;

   }



--

Vincent Veyron
Logiciel de suivi et de gestion des dossiers de contentieux et d'assurance pour les services juridiques http://marica.fr/



Reply via email to