Fixed redirect problem, partially; still getting 500 status