middleware for yeoman mod rewrite