AddType application/rdf+xml rdf ##Redirect 301 ^20050403.html$ http://xmlns.com/foaf/spec/20050403.html #Redirect 301 ^20050403.rdf$ http://xmlns.com/foaf/spec/20050403.rdf # site-wide instead; commenting this out: Header add Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Origin * RewriteEngine on # For 20050403.html 20050403.rdf 20050518.html 20050518.rdf 20050519.html 20050519.rdf 20050603.html 20050603.rdf # This rule is for earlier dated snapshots of the spec. Prior to 200505 we only used CVS; perhaps we should # copy versions into /foaf/spec/ for those too? Reduce dependency on CVS for core of our history? # RewriteRule ^(2005)(.*)$ http://xmlns.com/foaf/spec/$1$2 [R=301,L] RewriteCond %{HTTP_ACCEPT} .*application/rdf\+xml.* RewriteRule (.*) /foaf/spec/index.rdf RewriteCond %{HTTP_ACCEPT} .*text/html.* #debug: RewriteRule (.*) http://xmlns.com/foaf/spec/?from=$1 [R=303,L] RewriteRule (.*) http://xmlns.com/foaf/spec/ [R=303,L] # Sample .htacess: Redirect 303 /foaf/0.1/myersBriggs http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/holdsAccount http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/OnlineAccount http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/account http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/OnlineEcommerceAccount http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/workInfoHomepage http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/family_name http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/jabberID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/mbox_sha1sum http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/familyName http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/accountServiceHomepage http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/pastProject http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/based_near http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/givenname http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/LabelProperty http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/thumbnail http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/status http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/icqChatID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/workplaceHomepage http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/topic http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/topic_interest http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/Organization http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/made http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/fundedBy http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/isPrimaryTopicOf http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/theme http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/Document http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/name http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/accountName http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/depiction http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/geekcode http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/tipjar http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/OnlineGamingAccount http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/surname http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/lastName http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/birthday http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/gender http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/nick http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/msnChatID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/dnaChecksum http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/schoolHomepage http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/phone http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/currentProject http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/maker http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/publications http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/Project http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/depicts http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/mbox http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/title http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/Image http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/plan http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/weblog http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/member http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/logo http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/img http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/interest http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/sha1 http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/homepage http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/page http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/skypeID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/membershipClass http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/Person http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/knows http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/OnlineChatAccount http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/yahooChatID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/givenName http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/aimChatID http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/firstName http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/primaryTopic http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/openid http://xmlns.com/foaf/spec/ Redirect 303 /foaf/0.1/age http://xmlns.com/foaf/spec/