Forum Moderators: phranque

Message Too Old, No Replies

Rss

application/rss+xml

         

bull

8:09 pm on Sep 22, 2004 (gmt 0)

10+ Year Member



I'd like to show a RSS 2.0 as the mentioned type, so I tried:

RewriteCond %{REQUEST_URI} dir/rss/$ [OR]
RewriteCond %{REQUEST_URI} dir/rss$
RewriteRule ^.*$ /foo/rss.xml [C]
RewriteRule .* - "[T=application/rss+xml]"

Unfortunately, the RSS is still returned as application/xml. Any ideas why this is not working?

jdMorgan

8:19 pm on Sep 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried just using the AddType directive?

AddType text/rss+xml .rss

Jim

bull

8:28 pm on Sep 22, 2004 (gmt 0)

10+ Year Member



Works perfectly, as everything you post, Jim! Thank you!