bemp

URL rewrite proxy for bem server

bemp is a simple URL router proxy for bem server.

Installation

sudo npm install -g bemp

Usage

sudo bemp --root ~/Sites/bem-www/ -c sample-routes.json

Basic default routes

{
    "/i/": "/i/",
    "/favicon.ico": "/desktop.bundles/favicon.ico",
    "/robots.txt": "/desktop.bundles/robots.txt",
    "/merged/": "/desktop.bundles/merged/",
    "/": "/desktop.bundles/index/"
}