W3C home > Mailing lists > Public > semantic-web@w3.org > June 2009

Re: .htaccess a major bottleneck to Semantic Web adoption / Was: Re: RDFa vs RDF/XML and content negotiation

From: Juan Sequeda <juanfederico@gmail.com>
Date: Thu, 25 Jun 2009 20:40:27 +0200
Message-ID: <f914914c0906251140x3e90ef2ctf22e0c50df7660a3@mail.gmail.com>
To: Tom Heath <tom.heath@talis.com>
Cc: martin.hepp@ebusiness-unibw.org, Danny Ayers <danny.ayers@gmail.com>, bill.roberts@planet.nl, public-lod@w3.org, semantic-web at W3C <semantic-web@w3c.org>

Is there a place in the ESW wiki where people can find these simple
tools/scripts to do the rewriting like the one you did and [1]. I'm sure
there must be others.

This would be a good resource to have!

[1] http://ptlis.net/source/php-content-negotiation/

> The easiest pattern I've found is to use a RewriteRule to catch all
> incoming requests and pass them through a small PHP script that
> examines the Accept header and sends back 303s (or 200s) as
> appropriate. The code is about 6 lines; I'll publish it somewhere if I
> didn't already.
Received on Thursday, 25 June 2009 18:41:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:47:58 UTC