# HG changeset patch # User Steve Losh # Date 1276811736 14400 # Node ID b365f62c99b75f804f9473a7ed37be579b8ee2b3 # Parent 54edeec1e4e784d3ce3832aa125ebe3485c4b6a6 Remove the apache file. diff -r 54edeec1e4e7 -r b365f62c99b7 content/.htaccess --- a/content/.htaccess Thu Jun 17 01:11:00 2010 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -RewriteEngine on -RewriteBase {{ node.site.settings.SITE_ROOT }} - -# www is evil and must be abolished -RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] -RewriteRule ^(.*)$ http://%1/$1 [R=301,L] - -# Old URLs -RewriteRule ^blog/entry/(\d+)/(\d\d)/\d+/([^/]*)/?$ /blog/$1/$2/$3/ [R=301,L] -RewriteRule ^blog/entry/(\d+)/(\d)/\d+/([^/]*)/?$ /blog/$1/0$2/$3/ [R=301,L] - -RewriteCond %{REQUEST_FILENAME}/index.html -f -RewriteRule ^(.*) $1/index.html - -# listing pages whose names are the same as their enclosing folder's -RewriteCond %{REQUEST_FILENAME}/$1.html -f -RewriteRule ^([^/]*)/$ %{REQUEST_FILENAME}/$1.html - -# regular pages -RewriteCond %{REQUEST_FILENAME}.html -f -RewriteRule ^.*$ %{REQUEST_FILENAME}.html - -ErrorDocument 404 /404.html