While ikiwiki is primarily a wiki compiler, which generates static html pages, it does use CGI for online page editing.

To enable CGI, you need to create and install an ikiwiki.cgi wrapper. Setup explains how to do this.