Ikiwiki

From Creative Crowds wiki
Revision as of 15:57, 19 May 2026 by Manetta (talk | contribs) (Created page with "This page is here to share my experiences with ikiwiki after having worked with it for the [https://hub.xpub.nl/rushtonhosts/everything-magazine-archive/ everything magazine archive] together with Simon and/for Steve. ==Server configs== ===nginx=== /etc/nginx/sites-enabled/default <syntaxhighlight> # Enable CGI for ikiwiki location ~ \.cgi$ { auth_basic "If you are the lucky winner of the password quiz, please complete the rubric belo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is here to share my experiences with ikiwiki after having worked with it for the everything magazine archive together with Simon and/for Steve.

Server configs

nginx

/etc/nginx/sites-enabled/default
        # Enable CGI for ikiwiki
        location ~ \.cgi$ {
                auth_basic "If you are the lucky winner of the password quiz, please complete the rubric below.";
                auth_basic_user_file /etc/apache2/.htpasswd;
                gzip off;
                fastcgi_pass unix:/var/run/fcgiwrap.socket;
                include fastcgi_params;
        }

ikiwiki-cgi.service

/etc/systemd/system/ikiwiki-cgi.service
[Unit]
Description=Ikiwiki fcgi socket wrap
After=network.target

[Service]
Type=simple
User=ikiwiki
Group=www-data
ExecStart=/usr/bin/spawn-fcgi -s /var/run/fcgi.socket -n -- /usr/sbin/fcgiwrap

[Install]
WantedBy=multi-user.target

fcgiwrap.service

/lib/systemd/system/fcgiwrap.service

(but i think this was generated automatically, i did not touch it!)

[Unit]
Description=Simple CGI Server
After=nss-user-lookup.target
Requires=fcgiwrap.socket

[Service]
Environment=DAEMON_OPTS=-f
EnvironmentFile=-/etc/default/fcgiwrap
ExecStart=/usr/sbin/fcgiwrap ${DAEMON_OPTS}
User=www-data
Group=www-data

[Install]
Also=fcgiwrap.socket