gophor-php/bin/start-server
2020-05-18 17:52:02 +02:00

11 lines
357 B
Bash
Executable file

#!/usr/bin/env bash
cd "$(dirname "$(realpath "$0")")";
ROOT="$(realpath "$PWD/..")"
./gophor -port 1070 \
-file-remap "$(cat "${ROOT}/config/gopher-rewrite-map")" \
-log-output file \
-system-log "${ROOT}/logs/system.log" \
-access-log "${ROOT}/logs/access.log" \
-hostname localhost \
-root "${ROOT}/root" \
-http-compat-cgi \