+ RewriteRule (.+).atom$ $1/index.atom
+
+#lighttpd and mod_redirect
+
+The following example is exactly the same thing written for lighttpd by using mod_redirect:
+
+ $HTTP["url"] !~ "^/(~|doc/|ajaxterm|cgi-bin/)" {
+ $HTTP["url"] !~ "^/(.*/index\.(html|rss|atom))" {
+ url.redirect = (
+ "(.*)\.html$" => "$1/",
+ "(.*)\.(atom|rss)$" => "$1/index.$2"
+ )
+ }
+ }
\ No newline at end of file