Permalink
Showing with 1 addition and 40 deletions.
  1. +0 −40 site/.htaccess
  2. +1 −0 site/content/posts/posts/words-ive-looked-up.html
View
@@ -1,40 +0,0 @@
RewriteEngine on
RewriteBase /
ErrorDocument 404 /404.html
# redirect for workshop
RewriteRule ^sparkfun-workshop/$ http://samjacoby.com/posts/2013/4/2/sparkfun-workshop/
RewriteRule ^projects/motorcycles-are-fun http://samjacoby.com/projects/motorcycles/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} \.(jpg|png)$
RewriteRule ^.*media\/img\/(.*)$ https://s3.amazonaws.com/Shackman/samjacoby.com/$1 [L]
# Don't fix direct file links
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ $1/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} (.*jpg)/$
RewriteRule ^(.*) $1
#RewriteCond %{REQUEST_FILENAME} \.jpg$
#RewriteRule ^.*media\/img\/(.*jpg)$ https://s3.amazonaws.com/Shackman/samjacoby.com/$1 [L]
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule ^(.*) $1/index.html
RewriteCond %{REQUEST_FILENAME}/$1.html -f
RewriteRule ([^/]*)/$ %{REQUEST_FILENAME}/$1.html
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^.*$ %{REQUEST_FILENAME}.html
RewriteCond %{REQUEST_FILENAME}.xml -f
RewriteRule ^.*$ %{REQUEST_FILENAME}.xml
#RewriteCond %{REQUEST_FILENAME} \.jpg$
#RewriteRule ^(.*)$ https://s3.amazonaws.com/Shackman/samjacoby.com/$1
@@ -24,6 +24,7 @@
'cucumbrously',
'cynosures',
'descant',
'demotic',
'ectomorph',
'écorché',
'enuresis',

0 comments on commit 7e1c41f

Please sign in to comment.