W3C home > Mailing lists > Public > public-grddl-wg@w3.org > March 2007

htaccess example

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Thu, 22 Mar 2007 16:47:45 +0000
Message-ID: <4602B331.8050205@hpl.hp.com>
To: GRDDL Working Group <public-grddl-wg@w3.org>

I have implemented the server config instructions in

http://lists.w3.org/Archives/Public/public-grddl-wg/2007Mar/0114.html

as the attached .htaccess file.

Jeremy

-- 
Hewlett-Packard Limited
registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England


#
# Example .htaccess file
#
# See
#   http://httpd.apache.org/docs/1.3/howto/htaccess.html
#
#


#  The tests assume mappings like the following:
#         sq1ns  -> sq1ns.xml
#         sq2ns  -> sq2ns.rdf
#         loop-ns-b -> loop-ns-b.xml

# Also the content negotiation tests assume language negotiation:
# conneg.html -> conneg.html.en (Accept-Language: en)
# conneg.html -> conneg.html.en (Accept-Language: de)

#
# All of this is implemented with multiviews


Options +Multiviews


#
# grddlonrdf-xmlmediatype.rdf  -> Content-Type: application/xml
#

<Files ~ "(grddlonrdf-xmlmediatype.rdf|grddlonrdf-xmlmediatype)$">
  ForceType application/xml
</Files>
Received on Thursday, 22 March 2007 16:48:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:48 GMT