$set_response_code(301) $add_header('Location', 'http://'+$(HTTP_HOST)+$(REQUEST_PATH)+$(query_parameters))