i have changed the temp_dir "username" part of the code to my actual cpanel username but i still get the exact error..

"The server encountered an internal error or misconfiguration and was unable to complete your request...."

i was also told to set the cgi-bin/uu_upload.pl to 755 but
my cgi_bin does not have the uu_upload.pl file…the only file i see is ubr_upload.pl

thanks for all the help