in reply to website, cgi-bin, different locations???
I'm guessing that historically, cgi files had to be in the cgi-bin directory. Nowadays, at least with Apache, it's just a question of preference. One of the directories on my server is configured such that .jpg files are treated as CGI files. (They're actually perl scripts that generate images, not images.)