diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-18 18:48:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-18 18:48:46 -0400 |
commit | ea487472ed05f633e3cd9479b933656309c0d3c8 (patch) | |
tree | fa84bd5a7a9a214d4ccfd7eb891dc614b1918df0 | |
parent | 26c38c8049e3e8794984079b3b6d4c22ba888d3a (diff) | |
download | ikiwiki-ea487472ed05f633e3cd9479b933656309c0d3c8.tar ikiwiki-ea487472ed05f633e3cd9479b933656309c0d3c8.tar.gz |
document settings needed to fix bug
-rw-r--r-- | doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/po.mdwn | 9 |
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). |