I guess you forgot to set the HTTP-Status. Either:
print "Status: 301" # Moved Permanently
or
print "Status: 302" # Moved Temporarily
HTH,
-- Gerhard
> Hi All. I need to redirect user in my CGI script, i Try to use prin
> "Location: "+url but this is not working. Can anyone tell me what I'm
> doing wrong?
something like
print "Status: 302"
print "Location: " + new_url
print
sys.exit(1)
should work (assuming that sys is imported, of course)
(if it doesn't, you have to define "not working")
hope this helps!
</F>