File: filemanager_scgi.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 (8 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8

let () =
  let port = 8888 in
  Printf.printf "External SCGI server listening on port %i.\n" port;
  flush stdout;
  let run ~config ~arg_store ~output_type f =
    Netcgi_scgi.run ~config ~arg_store ~output_type f ~port in
  Filemanager.script run