First, make sure the script files are in the cgi-bin folder.


Second, make sure the file permissions are set to 755/777.