EK on Nostr: So if I `chroot` into some directory in a server config, and I want to run CGI ...
So if I `chroot` into some directory in a server config, and I want to run CGI scripts, do I need to symlink / hardlink `/bin/ksh` into the chroot?
Say my config is:
- slowcgi socket running at /var/gemini/smelly.sock
- gmid config chroots into /var/gemini
- gmid specifies SCRIPT_NAME as /cgi/index.sh
- index.sh is a standars ksh script.
However logs say:
slowcgi[96371]: execve /correct-path-to/index.sh: No such file or directory
#OpenBSD #geminiprotocol
Say my config is:
- slowcgi socket running at /var/gemini/smelly.sock
- gmid config chroots into /var/gemini
- gmid specifies SCRIPT_NAME as /cgi/index.sh
- index.sh is a standars ksh script.
However logs say:
slowcgi[96371]: execve /correct-path-to/index.sh: No such file or directory
#OpenBSD #geminiprotocol