in reply to Redirection in parl?
Generally when debugging CGI problems it helps to examine the web server's error logs so that you can see what the error message is. Attempting to debug problems like this without having access to error messages will be very difficult (arguably impossible for a novice).
In a pinch, in the absense of log file access, this could help you considerably:
use CGI::Carp 'fatalsToBrowser';