update
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 4 Apr 2007 01:39:53 +0000 (01:39 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 4 Apr 2007 01:39:53 +0000 (01:39 +0000)
doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn

index 6a2ef05e54a3d33bdb626f6ae1f56a8111fd89ad..46e525b9a009b4e1acb9b1a2a3199dea3f0bb809 100644 (file)
@@ -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]