After installing cgiirc, run the following commands as root from the html directory of the cgiirc webapp:
cat cgiirc.conf > /etc/httpd/conf.d/*cgiirc* service httpd restart