From 58a402d36d5014c6dd06b8c8845671b85f0d1916 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Sat, 28 Aug 2021 11:59:47 +0000 Subject: update readme according to reality maybe later i'll change this behaviour and will make *.cgi things optional, but for now it is like it is. FossilOrigin-Name: 38b21bf11621daf2591d3e635292ca5a0bc0eef31598fbf3986858c76b6f7ed3 --- README.md | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 77daeaf..1065ea6 100644 --- a/README.md +++ b/README.md @@ -18,23 +18,10 @@ $ make $ doas make install ``` -if you want to use nimisewi as cgi script, you can compile it with: - -```terminal -$ make distclean -$ ./configure --static # if your cgi will be served from chroot -$ make nimisewi.cgi -``` - -or if you want a cgi script for gemini protocol, run: - -```terminal -$ make distclean -$ configure --static # if your cgi will be served from chroot -$ make nimisewi_gemini.cgi -``` - -now throw that `nimisewi.cgi` or `nimisewi_gemini.cgi` into your cgi-bin folder and serve it as you wish. +by default it will compile also `nimisewi.cgi` and `nimisewi_gemini.cgi` and +if you wish, you can throw them into your cgi-bin folder and serve them using +whatever cgi thing you want. also they are statically linked, so you don't +need to worry if your web server is chrooted. see examples here: -- cgit v1.2.3