thanks again, i have changed the file type to unix, then uploaded to the server, it still gives the same error message as above. i dont have any clue why is it behaving like this. although this cgi file has 755 permission.