in reply to Re^2: url redirection
in thread url redirection

You're right, it works with only the
print $query->redirect('http://localhost/rbsaws/');
I believe I had tried this originally, but had other print statements in front of it which apparently causes a problem. Thanks.