I just turned nscgi on and it worked for some old C (!) cgi programs.
I know others have set it up to use for cvsweb, which is perl.
Unfortunately, in my very limited use of nscgi, I've never had any
problems at all, so I'm can't offer much help or advice.