I was wrong once, but I think uncommenting "AddHandler cgi-script .cgi" would work if the default section or the doc root section include an "AllowOverriede All" or "AllowOverride Options" directive. This config file seems to use more administrative oriented scriptalias directives: # ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
ScriptAlias /cgi-bin/ "/cgi-bin/"
# "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.