document settings needed to fix bug

master
Joey Hess 2010-09-18 18:48:46 -04:00
parent 26c38c8049
commit ea487472ed
2 changed files with 8 additions and 3 deletions

View 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).
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

View 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.
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).