Configuring the Web Interface › Web Directors and Web Engines Configuration › Server Configuration › Web Engines › CGI Interface
CGI Interface
Each web engine has and uses a CGI interface as follows:
- When using an HTTP server like IIS or Apache, the interface is an executable that is stored in the $NX_ROOT/bopcfg/www/wwwroot directory. The name of the CGI interface is the name of the executable. Browsers enter the CGI interface on the address line and the request is directed to the appropriate web engine.
- When using a servlet server like Tomcat, the CGI interface is simulated by a servlet. Each servlet server has a web.xml.tpl file that describes all the CGI interfaces. The pdm_edit.pl utility creates sample web.xml.tpl files named <hostname>-web.xml.tpl. Use the files to replace the web.xml.tpl file on the appropriate server, and reconfigure the server.
- When using a web director, it is often useful to set one CGI interface for one web engine to a known CGI name. All requests go to this web engine and are redirected to a more available web engine. This setup lets the users remember only a single CGI interface name and all requests are balanced across all available web engines.