
The cgi handler executes CGI programs.
This module accepts three parameters
This is a pretty common example. It defines a directory called cgi which points to a path out of the Sever root directory where are located the CGI programs.
Directory /cgi {
   DocumentRoot /usr/lib/cgi-bin/
   Handler cgi
}
This example shows how to use the script alias parameter. When /example is visited, it will run /usr/lib/cgi-bin/example.cgi
Directory /example {
   Handler cgi {
      Scriptalias /usr/lib/cgi-bin/example.cgi
   }
}