summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn2
-rw-r--r--doc/plugins/po.mdwn9
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn b/doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn
index 7acbfe82d..a2b68c4b1 100644
--- a/doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn
+++ b/doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn
@@ -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).
-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
diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn
index ca1775f6e..f91e44ea3 100644
--- a/doc/plugins/po.mdwn
+++ b/doc/plugins/po.mdwn
@@ -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.
-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).