about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-11 11:10:24 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-11 11:10:24 +0100
commit10002a45e821b83d1dc0348b25de0c40e841b4ed (patch)
tree69343a442056986adb72abd9170983bcf4d6c5ed
parente419b5881c8ca99a36962145f9647d2c37e624e2 (diff)
downloadchawan-10002a45e821b83d1dc0348b25de0c40e841b4ed.tar.gz
doc/localcgi: reword/clarify
-rw-r--r--doc/localcgi.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/localcgi.md b/doc/localcgi.md
index b9b3e5f5..57135c03 100644
--- a/doc/localcgi.md
+++ b/doc/localcgi.md
@@ -107,7 +107,11 @@ Double check that your CGI script is in the correct location. Also, make
 sure that you are not accidentally calling the script with an absolute path via
 `cgi-bin:/script-name` (instead of the correct `cgi-bin:script-name`).
 
-Also, make sure `external.cgi-dir` is set to the directory your script is in.
+It is also possible that `external.cgi-dir` is not really set to the directory
+your script is in. Note that by default, this depends on the binary's path,
+so e.g. if your binary is in `~/src/chawan/target/release/bin/cha`, but you
+put your CGI script to `/usr/local/libexec/chawan/cgi-bin`, then it will
+not work.
 
 ### My script returns a page saying "Failed to execute script".