From 244fb993eb3f42ef0c33c2e99bc34f243caaf70d Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 4 Apr 2007 01:39:53 +0000 Subject: [PATCH] update --- ..._redirects_from_foo.html_to_corresponding_index.html.mdwn | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn b/doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn index 6a2ef05e5..46e525b9a 100644 --- a/doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn +++ b/doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn @@ -9,8 +9,7 @@ Now that ikiwiki supports using page/index.html rather than page.html, how about RewriteCond $1 !^/~ RewriteCond $1 !^/doc/ + RewriteCond $1 !^/ajaxterm RewriteCond $1 !^/cgi-bin/ - RewriteCond $1 !^/index + RewriteCond $1 !.*/index$ RewriteRule (.+).html $1/ [R] - - #RewriteRule /~family/(.+).html /~family/$1/ [R]