diff options
author | gennyble <gen@nyble.dev> | 2025-03-16 04:44:05 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2025-03-16 04:44:05 -0500 |
commit | 26aac34fdf0b76f33b11e00cb2ec4c5f2b757af1 (patch) | |
tree | bd87aaa024ade9ea01e0681d1930658b4075b279 /README.md | |
parent | a6edce3fa4c6b3c80047a072175eccefa81e7f58 (diff) | |
download | corgi-26aac34fdf0b76f33b11e00cb2ec4c5f2b757af1.tar.gz corgi-26aac34fdf0b76f33b11e00cb2ec4c5f2b757af1.zip |
debugging
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md index ef2dd2b..47b3449 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,22 @@ corgi listens on port 26744 by default. `/etc/corgi.conf` ``` +Server + Port 26744 + +Script <path-to-cgi-script> + Match + Regex <regular-expression> + Script <path-to-cgi-script> Environment HTTP_HOST <hostname> ENV_KEY <some-env-value> ``` +Scripts are tried in order, looking for one that matches. If none match, +the first script is ran. + Sets the following environmental variables for the CGI script, many following [RFC 3875][rfc]: - **`GATEWAY_INTERFACE`** to the fixed value `CGI/1.1` - **`PATH_INFO`** to the HTTP path the client requested |