fix issue with no default route and missing PATH_INFO, now use 302 instead of 301 for redirects for default route