summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/Autogenerate_a_.htaccess_file_with_redirects_from_foo.html_to_corresponding_index.html.mdwn5
1 files 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]