File: filemanager_scgi.ml

package info (click to toggle)
ocamlnet 2.2.9-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,724 kB
  • ctags: 10,053
  • sloc: ml: 63,928; ansic: 1,973; makefile: 800; sh: 651
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