- From: Jeremy Carroll <jjc@hpl.hp.com>
- Date: Mon, 24 Sep 2007 08:38:48 +0100
- To: public-grddl-wg@w3.org
- Message-ID: <46F76988.4050008@hpl.hp.com>
I'm a bit stuck. I changed the .htaccess file on Friday to include the following rule RewriteRule ^loopx$ loopx.xml [L] which I thought would do the trick, of forcing http://www.w3.org/2001/sw/grddl-wg/td/loopx to deliver loopx.xml instead of loopx.xsl but it didn't work, so I went home for the weekend, hoping that some cache would clear, and it still doesn't work. In desparation I added the following line: Redirect 301 /2001/sw/grddl-wg/td/loopx http://www.w3.org/2001/sw/grddl-wg/td/loopx.xml which I think might not work correctly due to the GRDDL rules on 3XX responses, but still I get the xsl file, and even if I go via soemwhere otehr than my own machine e.g. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.w3.org%2F2001%2Fsw%2Fgrddl-wg%2Ftd%2Floopx&charset=%28detect+automatically%29&doctype=Inline&group=0&ss=1 I still get the xsl rather than the xml (see source listing at bottom of that page) I attach the current state of the .htaccess file. Any help appreciated. Jeremy
<Files httpHeaders.xml>
Header set Profile "<http://www.w3.org/2003/g/data-view>"
Header set Link "<httpHeaders.xsl>;rel=\"transformation\""
</Files>
AddType application/xhtml .shtml
AddType text/html .shtml
AddHandler server-parsed .shtml
AddType application/xml .sxml
AddHandler server-parsed .sxml
AddType application/xml .sxsl
AddHandler server-parsed .sxsl
AddType application/rdf+xml .srdf
AddHandler server-parsed .srdf
<Files ~ "(grddlonrdf-xmlmediatype.rdf|grddlonrdf-xmlmediatype)$">
ForceType application/xml
</Files>
Redirect 303 /2001/sw/grddl-wg/td/xhtmlWithBaseElement http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithBaseElement
Redirect 303 /2001/sw/grddl-wg/td/xhtmlWithBaseElement.html http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithBaseElement.html
Redirect 303 /2001/sw/grddl-wg/td/xhtmlWithoutBaseElement http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement
Redirect 303 /2001/sw/grddl-wg/td/xhtmlWithoutBaseElement.html http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement.html
Redirect 302 /2001/sw/grddl-wg/td/xmlWithBase http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase
Redirect 302 /2001/sw/grddl-wg/td/xmlWithBase.xml http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase.html
Redirect 301 /2001/sw/grddl-wg/td/xmlWithoutBase http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase
Redirect 301 /2001/sw/grddl-wg/td/xmlWithoutBase.xml http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase.html
Redirect 307 /2001/sw/grddl-wg/td/grddlProfileWithBaseElement http://www.w3.org/2001/sw/grddl-wg/td/base/grddlProfileWithBaseElement
Redirect 307 /2001/sw/grddl-wg/td/grddlProfileWithBaseElement.html http://www.w3.org/2001/sw/grddl-wg/td/base/grddlProfileWithBaseElement.html
Redirect 301 /2001/sw/grddl-wg/td/loopx http://www.w3.org/2001/sw/grddl-wg/td/loopx.xml
RewriteEngine on
RewriteRule ^loopx$ loopx.xml [L]
RewriteRule ^pf-(.*) pf.shtml [L,E=arg:$1]
RewriteRule ^ns-(.*) ns.sxml [L,E=arg:$1]
RewriteRule ^fnd-([pn][fs])-output$ fnd-output [N,E=a1:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){1})output$ fnd-$2output [N,E=a2:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){2})output$ fnd-$2output [N,E=a3:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){3})output$ fnd-$2output [N,E=a4:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){4})output$ fnd-$2output [N,E=a5:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){5})output$ fnd-$2output [N,E=a6:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){6})output$ fnd-$2output [N,E=a7:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){7})output$ fnd-$2output [N,E=a8:$1]
RewriteRule ^fnd-([pn][fs])-(([pn][fs]-){8})output$ fnd-$2output [N,E=a9:$1]
Received on Monday, 24 September 2007 07:39:09 UTC