add rewriteriles for rss and atom feeds
parent
8b870cf0a1
commit
30a1bf9e95
|
@ -14,6 +14,13 @@ Now that ikiwiki supports using page/index.html rather than page.html, how about
|
||||||
RewriteCond $1 !.*/index$
|
RewriteCond $1 !.*/index$
|
||||||
RewriteRule (.+).html $1/ [R]
|
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,
|
>> 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
|
>> using a condition to limit rewrites to that wiki's directory, and the
|
||||||
|
|
Loading…
Reference in New Issue