Permalink
Browse files

Edited .htaccess to point to /2012/06/14/!

  • Loading branch information...
1 parent b68b6e9 commit 594615d60626f8f9954452f56cec0b862adcd5a0 @tombaker tombaker committed Jun 11, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 build/.htaccess
View
@@ -9,7 +9,6 @@ AddType text/turtle .ttl
<ifModule mod_rewrite.c>
# Rewrite engine setup
RewriteEngine On
- #RewriteBase /2012/05/22
# make sure we don't have the file or a directory index to serve
# the rest fails to redirect if we do
@@ -34,14 +33,14 @@ AddType text/turtle .ttl
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
# redirects all requests for individual vocabs to /dcmi-terms/
# which should serve /dcmi-terms/index.html
- RewriteRule ^(dcelements)$ HTTP://%{HTTP_HOST}/documents/2012/06/01/dcmi-terms\?v=elements [R=303,L,NE,NC]
- RewriteRule ^(dcterms)$ HTTP://%{HTTP_HOST}/documents/2012/06/01/dcmi-terms\?v=terms [R=303,L,NE,NC]
- RewriteRule ^(dctype)$ HTTP://%{HTTP_HOST}/documents/2012/06/01/dcmi-terms\?v=dcmitype [R=303,L,NE,NC]
- RewriteRule ^(dcam)$ HTTP://%{HTTP_HOST}/documents/2012/06/01/dcmi-terms\?v=dcam [R=303,L,NE,NC]
+ RewriteRule ^(dcelements)$ HTTP://%{HTTP_HOST}/documents/2012/06/14/dcmi-terms\?v=elements [R=303,L,NE,NC]
+ RewriteRule ^(dcterms)$ HTTP://%{HTTP_HOST}/documents/2012/06/14/dcmi-terms\?v=terms [R=303,L,NE,NC]
+ RewriteRule ^(dctype)$ HTTP://%{HTTP_HOST}/documents/2012/06/14/dcmi-terms\?v=dcmitype [R=303,L,NE,NC]
+ RewriteRule ^(dcam)$ HTTP://%{HTTP_HOST}/documents/2012/06/14/dcmi-terms\?v=dcam [R=303,L,NE,NC]
# either of these catch-alls means there's never a 404
# any unservable request will serve dcmi-terms/index.html
- RewriteRule ^(.*)$ HTTP://%{HTTP_HOST}/documents/2012/06/01/dcmi-terms/ [R=303,L,NE]
+ RewriteRule ^(.*)$ HTTP://%{HTTP_HOST}/documents/2012/06/14/dcmi-terms/ [R=303,L,NE]
#uncomment either the rule above or the rule below to control the default

0 comments on commit 594615d

Please sign in to comment.