diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md index c312ee6..ffa270b 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ Script <path-to-cgi-script> See [corgi.conf](corgi.conf) for the configuration I use with my cgit instance. -Scripts are tried in order, looking for one that matches. If none match, -the first script is ran. +Scripts are tried in order, looking for one that has a matching regex. If a +script does not have a regex, it is selected. If none match, 404 is returned. Sets the following environmental variables for the CGI script, many following [RFC 3875][rfc]: - **`GATEWAY_INTERFACE`** to the fixed value `CGI/1.1` @@ -44,4 +44,4 @@ They will be uppercased and hyphens replaced with underscores. Any environmental variable may be overridden if it is set in the configuration file, except the `CONTENT_LENGTH` envar. -[rfc]: https://datatracker.ietf.org/doc/html/rfc3875 \ No newline at end of file +[rfc]: https://datatracker.ietf.org/doc/html/rfc3875 |