This is the default example configuration of cgid.conf provided by Apache. This config file was generated by Apache running on Ubuntu 12.04.
It is located under: /etc/apache2/mods-enabled/cgid.conf
# Socket for cgid communication
ScriptSock ${APACHE_RUN_DIR}/cgisock
Download the raw file with wget or curl
wget -O cgid.conf.example http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-enabled/cgid.conf
curl http://exampleconfig.com/static/raw/apache/ubuntu12.04/etc/apache2/mods-enabled/cgid.conf > cgid.conf.example
Other config files you might find useful