Changed so that static files are checked before we send the request to force, "preregex" means "before regex", when no match is given the standard value is regex.