Commit Graph

14 Commits

Author SHA1 Message Date
Omar Polo a1ba9650a9 revamp fastcgi configuration: make it per-location
this revamps the syntax in the configuration to better match httpd(8)
(and in general be less weird) and to allow per-location fastcgi
configurations.

the bare `param' is now deprecated, but for compatibility it acts
like `fastcgi param' would do now.  Same story for `fastcgi <pathÂ>'.
2023-07-23 18:45:05 +00:00
Omar Polo 911156fb95 make `listen on' defaults on port 1965 2023-06-29 15:01:16 +00:00
Omar Polo 287ab86538 default chroot to user' home if unset 2023-06-24 19:42:31 +00:00
Omar Polo 7edcf2b341 update gmid.conf.5: drop old rules and add news
- minor improvements to the wording - drop the removed global options
ipv6 and port - remove config-less mention - document `listen on'
- update examples

While `ipv6' and `port' are still supported for backward compatibility,
it's better to not document them anymore.
2023-06-24 13:04:15 +00:00
Omar Polo 97b306cbee add an implicit fastcgi parameter: GEMINI_SEARCH_STRING
it’s the QUERY_STRING decoded if it’s a search-string (i.e. not a
key-value pair.)  It’s useful for scripts to avoid percent-decoding
the querystring in the most common case of a query, because in Gemini
querystrings key-value paired are not common.

Idea from a discussion with Allen Sobot.
2022-11-27 15:35:10 +00:00
Omar Polo 77718c121f correction: QUERY_STRING is *not* urldecoded.
RFC3875 § 4.1.7 states that "the QUERY_STRING variable contains a
URL-encoded search or parameter string".
2022-11-27 12:52:17 +00:00
Omar Polo d2da235ad9 sync config syntax with reality 2022-10-05 15:30:02 +00:00
Omar Polo 9b15e4c628 move gmid to the eight section of the manual 2022-09-08 21:15:02 +00:00
Omar Polo 1f6de7491c changes for 1.8.4 2022-07-04 14:51:39 +00:00
Omar Polo 93cab6dc78 document the implicit mapping for text/gemini
and remove the explicit mapping from the documentation and test files.
2022-04-08 15:36:59 +00:00
Omar Polo 5f03bf170f document the `types' behavior 2022-04-08 14:01:26 +00:00
Omar Polo 16c391a063 add an entry for text/gemini in the `types' example
if using `types' the internal listing is not used, so show how to add
the entries for text/gemini when using /usr/share/misc/mime.types.
2022-04-08 13:59:20 +00:00
Omar Polo aa6b8cf8ac +jpeg 2022-04-08 13:33:05 +00:00
Omar Polo 1595c277ef move the documentation of the config file into gmid.conf.5 2022-04-07 17:50:37 +00:00