On Mon, Nov 12, 2001 at 04:32:34PM +0800, Stas Bekman wrote:
> I think this belongs more to the modperl mailing list than here, but 
> you can use mod_rewrite with a rule similar to:
>
>      RewriteEngine On
>      RewriteRule (.*)/$ $1/index.html

My httpd.conf comes like this:

  <IfModule mod_dir.c>
      DirectoryIndex index.html
  </IfModule>

which seems to do it for me.  Note however that this causes the original
'blahblah/' to generate a redirect to 'blahblah/index.html' so your server
takes 2 hits instead of 1.  Stas' example avoids that.


A



Reply via email to