better fix developed on #httpd channel

master
Joey Hess 2010-09-18 15:09:14 -04:00
parent b2b599dfb9
commit 26c38c8049
1 changed files with 8 additions and 0 deletions

View File

@ -26,3 +26,11 @@ I wonder if it would be worth making the po plugin generate apache
[type map files](http://httpd.apache.org/docs/2.0/mod/mod_negotiation.html#typemaps).
That should avoid this problem.
--[[Joey]]
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]]
AddType application/rss+xml;qs=0.8 .rss
AddType application/atom+xml;qs=0.8 .atom