You output malformed headers.
I suggest outputting what HTTP actually specifies:
print "HTTP/1.0 302 Somewhere else\r\n"; print "Content-Type: text/html\r\n"; print $query->redirect('http://localhost/rbsaws/'), "\r\n"; print "\r\n"; # signal end of headers
Update: Fixed wrong HTTP result code, thanks moritz
In reply to Re: url redirection
by Corion
in thread url redirection
by zoodog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |