better fix developed on #httpd channel
authorJoey Hess <joey@kitenet.net>
Sat, 18 Sep 2010 19:09:14 +0000 (15:09 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 18 Sep 2010 19:09:14 +0000 (15:09 -0400)
doc/bugs/po:_apache_config_serves_index.rss_for_index.mdwn

index bf5973325a8355c72a3e731b60f09d885443a4d4..7acbfe82dd4b2a6733ca63e9c83294aa552dd569 100644 (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