handle all vsite redirects, add test case

#1176