Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    kerouac-htaccesspublic

    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/>

    Keywords

    none

    install

    npm i kerouac-htaccess

    Downloadslast 7 days

    1

    version

    0.1.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar