How to do simple http redirect using Python? without using meta.
To redirect using your current setup (CGI apache):
print("Location:http://newurl.com/foobar") print # to end the CGI response headers.