From: joey Date: Wed, 4 Apr 2007 01:29:06 +0000 (+0000) Subject: update X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/9225eefd3f368543397ec837e3136e4d31e4f596 update --- 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 27dcbd9d3..6a2ef05e5 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 @@ -10,5 +10,7 @@ Now that ikiwiki supports using page/index.html rather than page.html, how about RewriteCond $1 !^/~ RewriteCond $1 !^/doc/ RewriteCond $1 !^/cgi-bin/ + RewriteCond $1 !^/index RewriteRule (.+).html $1/ [R] + #RewriteRule /~family/(.+).html /~family/$1/ [R]