[UP] Modules |
WDialog API for Objective Caml: Wd_run_fcgi
Module Wd_run_fcgimodule Wd_run_fcgi:This module contains a customizable main program for application servers connected with the fastcgi protocol val create_request_handler : This function creates a request handler for a fastcgi-based application server. Use this function like in this example: Netcgi_fcgi.serv (Wd_run_fcgi.create_request_handler ~session_manager: (new memory_session_manager) ~charset:`Enc_utf8 ~reg ~uifile:"adder.ui" ()) buffered_transactional_optype This main program creates a single threaded (single process) server which handles requests sequentially. Since fastcgi processes are managed by an application server, this is the only mode provided. The application server can then be configured to create process pools, cgi style servers, etc.. See the manual for your fastcgi application server for details. The application is accessible under the URL which you have configured for it in your web server.
Call the function
The argument
|