make sure that we redirect to the script_name, since this can be something other then '/'