Hi all!
What I want to do is for an URL like http://www.example.com/person/123 to provide RDF whenever the Browser/Client has "rdf" within his accept header, and HTML otherwise.
But I always get HTML back, seems only the first rewritecond is matched.
How can that be?
TIA
Michael
RewriteCond %{HTTP_ACCEPT} !^.*rdf.* [nocase]
RewriteRule ^person/?$ http://www.example.com/index.php?id=47& ... ist_people [redirect=301,nocase,last]
RewriteRule ^person/(\d+).*$ http://www.example.com/index.php?id=47& ... how_person [redirect=301,nocase,last]
RewriteCond %{HTTP_ACCEPT} ^.*rdf.* [nocase]
RewriteRule ^person/?$ http://www.example.com/triplify/person [redirect=301,nocase,last]
RewriteRule ^person/(\d+).*$ http://www.example.com/triplify/person/$1 [redirect=301,nocase,last]