Awkiawki with slowcgi with NGINX on FreeBSD How to run awkiawki using slogcgi and NGNINX Awkiawki is a wiki written in awk. slowcgi is a server which implements the FastCGI Protocol to execute CGI scripts. slowcgi is a simple server that translates FastCGI requests to the CGI protocol. It executes the requested CGI script and translates its output back to the FastCGI protocol. slowcgi is on FreeBSD available as package. I run this from /home/www. Configuring slowcgi Add the following lines to /etc/rc.conf: slowcgi_enable="YES" slowcgi_flags="-p /home/www -s /home/www/run/slowcgi.sock" Start slowcgi. It will open a socket in /home/www/run/slowcgi.sock. Chroot Slowcgi lets the scripts run in a chroot directory. Make sure the needed executables (like mawk for awkiawki) are in a path within the chroot directory, and that all the needed libraries are there too. Configuring NGINX to use slowcgi server { listen 80; server_name wiki.example.com; root "/home/www/"; location /cgi-bin/ { index…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.