added a url rewrite handler

I'm possibly doing it wrong, but it seems an intermediate script is required to correctly server static asset files when using the command line.