blob: 3b6b0dfcbc929d4adaa12de1298f2328cc4a218a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
corgi is a CGI server.
currently, it can handle one application.
`/etc/corgi.conf`
```
Script <path-to-cgi-script>
Environment
HTTP_HOST <hostname>
ENV_KEY <some-env-value>
```
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
- **`QUERY_STRING`** to the query part of the URI
- **`REQUEST_METHOD`** to the HTTP request method
[rfc]: https://datatracker.ietf.org/doc/html/rfc3875
|