kerouac-htaccess

.htaccess plugin for Kerouac.

npm install kerouac-htaccess
2 downloads in the last week
5 downloads in the last month

kerouac-htaccess

This is a Kerouac plugin that supports .htaccess. These files are configuration files that reside in the same directory as the website, and are used to issue directives to Apache (or other compatible web server).

Install

$ npm install kerouac-htaccess

Usage

This plugin is typically used to declare redirects in the situation where your URL structure has changed, and you want to point old URLs to their new location.

var redirect = {
  '/guide/intro.html': '/guide/intro/'
}

site.plug(require('kerouac-htaccess')({ redirect: redirect }));

Tests

$ npm install
$ make test

Build Status David DM

Credits

License

The MIT License

Copyright (c) 2012-2013 Jared Hanson [http://jaredhanson.net/](http://jaredhanson.net/)

npm loves you