|
|
|
@ -1,53 +1,53 @@
|
|
|
|
|
# Gophor Arguments
|
|
|
|
|
```
|
|
|
|
|
gophor [args]
|
|
|
|
|
-root Server root directory
|
|
|
|
|
-bind-addr IP address to bind to
|
|
|
|
|
-port Port to listen on
|
|
|
|
|
-fwd-port Outward-facing port
|
|
|
|
|
-hostname Server hostname (FQDN)
|
|
|
|
|
gophi [args]
|
|
|
|
|
-root Server root directory
|
|
|
|
|
-bind-addr IP address to bind to
|
|
|
|
|
-port Port to listen on
|
|
|
|
|
-fwd-port Outward-facing port
|
|
|
|
|
-hostname Server hostname (FQDN)
|
|
|
|
|
|
|
|
|
|
-sys-log System log output location ['stdout', 'null', $filename]
|
|
|
|
|
-acc-log Access log output location ['stdout', 'null', $filename]
|
|
|
|
|
-sys-log System log output location ['stdout', 'null', $filename]
|
|
|
|
|
-acc-log Access log output location ['stdout', 'null', $filename]
|
|
|
|
|
|
|
|
|
|
-cache-monitor-freq File cache freshness monitor frequency
|
|
|
|
|
-cache-size File cache size
|
|
|
|
|
-cache-file-max Max cached file size (megabytes)
|
|
|
|
|
-cache-monitor-freq File cache freshness monitor frequency
|
|
|
|
|
-cache-size File cache size
|
|
|
|
|
-cache-file-max Max cached file size (megabytes)
|
|
|
|
|
|
|
|
|
|
-restrict-paths Restrict paths as new-line separated list of regex statements
|
|
|
|
|
(see documenation below)
|
|
|
|
|
-remap-requests Remap requests as new-line separated list of remap statements
|
|
|
|
|
(see documenation below)
|
|
|
|
|
-restrict-paths Restrict paths as new-line separated list of regex statements
|
|
|
|
|
(see documenation below)
|
|
|
|
|
-remap-requests Remap requests as new-line separated list of remap statements
|
|
|
|
|
(see documenation below)
|
|
|
|
|
|
|
|
|
|
-cgi-dir CGI scripts directory (empty to disable)
|
|
|
|
|
-max-cgi-time Max CGI script execution time
|
|
|
|
|
-safe-path CGI environment safe PATH variable
|
|
|
|
|
-http-compat-cgi Enable HTTP compatibility for CGI scripts by stripping headers
|
|
|
|
|
-http-prefix-buf Buffer size used for stripping HTTP headers
|
|
|
|
|
-cgi-dir CGI scripts directory (empty to disable)
|
|
|
|
|
-max-cgi-time Max CGI script execution time
|
|
|
|
|
-safe-path CGI environment safe PATH variable
|
|
|
|
|
-http-compat-cgi Enable HTTP compatibility for CGI scripts by stripping headers
|
|
|
|
|
-http-prefix-buf Buffer size used for stripping HTTP headers
|
|
|
|
|
|
|
|
|
|
-user-dir User subdir for personal server space
|
|
|
|
|
-user-dir User subdir for personal server space
|
|
|
|
|
|
|
|
|
|
-read-deadline Connection read deadline (timeout)
|
|
|
|
|
-write-deadline Connection write deadline (timeout)
|
|
|
|
|
-read-deadline Connection read deadline (timeout)
|
|
|
|
|
-write-deadline Connection write deadline (timeout)
|
|
|
|
|
|
|
|
|
|
-conn-read-buf Connection read buffer size (bytes)
|
|
|
|
|
-conn-write-buf Connection write buffer size (bytes)
|
|
|
|
|
-conn-read-max Connection read max (bytes)
|
|
|
|
|
-conn-read-buf Connection read buffer size (bytes)
|
|
|
|
|
-conn-write-buf Connection write buffer size (bytes)
|
|
|
|
|
-conn-read-max Connection read max (bytes)
|
|
|
|
|
|
|
|
|
|
-file-read-buf File read buffer size (bytes)
|
|
|
|
|
-file-read-buf File read buffer size (bytes)
|
|
|
|
|
|
|
|
|
|
-version Print version string
|
|
|
|
|
-version Print version string
|
|
|
|
|
|
|
|
|
|
# Gopher Specific Arguments
|
|
|
|
|
-page-width Gopher page width
|
|
|
|
|
-page-width Gopher page width
|
|
|
|
|
|
|
|
|
|
-footer-text Footer text (empty to disable)
|
|
|
|
|
-footer-text Footer text (empty to disable)
|
|
|
|
|
|
|
|
|
|
-subgopher-size-max Subgophermap size max (megabytes)
|
|
|
|
|
-subgopher-size-max Subgophermap size max (megabytes)
|
|
|
|
|
|
|
|
|
|
-admin Generated policy file admin email
|
|
|
|
|
-description Generated policy file server description
|
|
|
|
|
-geolocation Generated policy file server geolocation
|
|
|
|
|
-admin Generated policy file admin email
|
|
|
|
|
-description Generated policy file server description
|
|
|
|
|
-geolocation Generated policy file server geolocation
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Path Restrictions Regex
|
|
|
|
|