node package manager


.htaccess plugin for Kerouac.


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).

$ npm install kerouac-htaccess

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 }));
$ npm install
$ make test

The MIT License

Copyright (c) 2012-2013 Jared Hanson <>