in reply to pushing requested file

try
print "Location: www.mysite.com/$URL\n\n";