Making a guess as we dont have your config file,
You must be having something like
<Directory "/usr/lib/cgi-bin"> // or something similar in the config file
Allow from all
change it to
all granted instead of
Order allow, deny
I would say just look at the config file and you should be able to make a guess.