summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-11 01:00:17 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-11 01:00:17 +0000
commit30a1bf9e95b5e594e8e97b689b09b7d58385682e (patch)
tree6586bb3e609822aa849bcae7185d8b2af100850f
parent8b870cf0a10bbf78e93ba2bb418e6f44f3e53959 (diff)
add rewriteriles for rss and atom feeds
-rw-r--r--doc/todo/Document_redirections_for_use_with_usedirs.mdwn9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/todo/Document_redirections_for_use_with_usedirs.mdwn b/doc/todo/Document_redirections_for_use_with_usedirs.mdwn
index 56b0d5890..2ed4c684a 100644
--- a/doc/todo/Document_redirections_for_use_with_usedirs.mdwn
+++ b/doc/todo/Document_redirections_for_use_with_usedirs.mdwn
@@ -13,7 +13,14 @@ Now that ikiwiki supports using page/index.html rather than page.html, how about
RewriteCond $1 !^/cgi-bin/
RewriteCond $1 !.*/index$
RewriteRule (.+).html $1/ [R]
-
+
+ RewriteCond $1 !^/~
+ RewriteCond $1 !.*/index$
+ RewriteRule (.+).rss $1/index.rss
+
+ RewriteCond $1 !^/~
+ RewriteCond $1 !.*/index$
+ RewriteRule (.+).atom $1/index.atom
>> Nice solution. I think this would work for a newly-converted wiki as well,
>> using a condition to limit rewrites to that wiki's directory, and the