]> sipb.mit.edu Git - ikiwiki.git/commitdiff
document settings needed to fix bug
authorJoey Hess <joey@kitenet.net>
Sat, 18 Sep 2010 22:48:46 +0000 (18:48 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 18 Sep 2010 22:48:46 +0000 (18:48 -0400)
doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn
doc/plugins/po.mdwn

index 7acbfe82dd4b2a6733ca63e9c83294aa552dd569..a2b68c4b14520906718b375f5c6d2a65cdb2c71e 100644 (file)
@@ -30,7 +30,7 @@ That should avoid this problem.
 Update: A non-intrusive fix is to add this to apache configuration. 
 This tunes the "quality" of the rss and atom files, in an apparently currently
 undocumented way (though someone on #httpd suggested it should get documented).
 Update: A non-intrusive fix is to add this to apache configuration. 
 This tunes the "quality" of the rss and atom files, in an apparently currently
 undocumented way (though someone on #httpd suggested it should get documented).
-Result is that apache will prefer serving index.html. --[[Joey]] 
+Result is that apache will prefer serving index.html. --[[Joey]]  [[done]]
 
        AddType application/rss+xml;qs=0.8 .rss
        AddType application/atom+xml;qs=0.8 .atom
 
        AddType application/rss+xml;qs=0.8 .rss
        AddType application/atom+xml;qs=0.8 .atom
index ca1775f6e4ec49bbb7c889a1a424f85a1e322dae..f91e44ea317d1b0bd9655f545541d1d55ad0aa66 100644 (file)
@@ -117,8 +117,13 @@ serve any page in the client's preferred language, if available.
 
 Add 'Options MultiViews' to the wiki directory's configuration in Apache.
 
 
 Add 'Options MultiViews' to the wiki directory's configuration in Apache.
 
-When `usedirs` is enabled, one has to set `DirectoryIndex index` for
-the wiki context.
+When `usedirs` is enabled, you should also set `DirectoryIndex index`.
+
+These settings are also recommended, in order to avoid serving up rss files
+as index pages:
+
+       AddType application/rss+xml;qs=0.8 .rss
+       AddType application/atom+xml;qs=0.8 .atom
 
 For details, see [Apache's documentation](http://httpd.apache.org/docs/2.2/content-negotiation.html).
 
 
 For details, see [Apache's documentation](http://httpd.apache.org/docs/2.2/content-negotiation.html).