What extension should I use?

Use .cgi extensions for all scripts