The CGI slave provides a way to execute CGI programs without the need to have a running web server. This can for example be used for local testing of CGI programs or for using search engines that only provide a CGI frontend like the one from Doxygen.
The slave implements the cgi: protocol. It uses the filename from the given URL and searches a configurable list of folders.
The list of folders can be retrieved using the command
kde4-config . The value defaults to
Use the System Settings module CGI Script
kcmshell4 ) to add or remove additional user defined paths that are searched for
If this kioslave finds an executable with the given name it executes it, passes the arguments of the URL and sets the environment variables needed by CGI programs.