in reply to building a dynamic site with cgi

way to import cgi scripts from html files (not shtml)

Maybe what you want is an apache  handler - a program that will be executed using the target file as data.