module Handler:sig..end
type result =
| |
OK |
(* |
This stage of request processing was handled
successfully.
| *) |
| |
DECLINED |
(* |
No erroneous condition exists, but the module
declines to handle the phase; the server tries to
find another.
| *) |
| |
DONE |
(* |
The request is completely satisfied.
| *) |
| |
HTTP of |
(* |
The request returns the HTTP status code given
as argument.
| *) |
typet =Netcgi_apache.Apache.Request.t -> result
Exit is
considered as a normal way of terminating early. All other
exceptions are logged and result in an Internal_server_error
response by Apache.val register : t -> string -> unitregister fn name to register one or more
handler functions. The handler functions are then referred to
in the Netcgi*Handler configuration commands as
Module_name.name where Module_name is derived from the
filename (given to the NetcgiLoad directive) and name is the
string passed here.