bug fix to allow routes with log, htaccess etc in the route