File: filemanager_apache.ml

package info (click to toggle)
ocamlnet 4.1.9-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,024 kB
  • sloc: ml: 151,939; ansic: 11,071; sh: 2,003; makefile: 1,310
file content (11 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
(** This program must be compiled to .cmo or .cma.  Moreover, put in
    an Apache conf file:

    NetcgiLoad nums.cma
    NetcgiLoad numerix/numerix.cma
    NetcgiLoad cryptokit/cryptokit.cma
*)

let () =
  Filemanager.script (fun ~config ~arg_store ~output_type f ->
			Netcgi_apache.run ~config ~arg_store ~output_type f)