Ikiwiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
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. | 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. | ||
__TOC__ | |||
==Notes== | |||
We took notes while working on this project here: https://hub.xpub.nl/rushtonhosts/everything-magazine-archive/backstage/ | |||
==Server configs== | ==Server configs== | ||
Revision as of 15:58, 19 May 2026
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.
Notes
We took notes while working on this project here: https://hub.xpub.nl/rushtonhosts/everything-magazine-archive/backstage/
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.targetfcgiwrap.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