app_maze: added vhost module rewrite location and option to set vhost hostname