fix: Document major gotcha when using https.

This took me a fair bit of time to debug.
This commit is contained in:
NunoSempere 2022-03-10 07:49:41 +00:00
parent f492aa962b
commit c3d9d4493e

4
README
View File

@ -7,7 +7,6 @@ users easy customization.
For more information see the official website: http://werc.cat-v.org/ For more information see the official website: http://werc.cat-v.org/
Installation Installation
------------ ------------
@ -39,6 +38,9 @@ comments apps) make sure all files under sites/ are writable by the user your
cgi will run as, usually www-data, for example by doing: chown -R :www-data cgi will run as, usually www-data, for example by doing: chown -R :www-data
sites/; chmod -R g+w sites/ sites/; chmod -R g+w sites/
Werc currently assumes that your website runs http, rather than https. If you are running https, locate and change https mentions using
grep http -R bin/
If your Plan 9 binaries are located somewhere else than the standard /bin/ you If your Plan 9 binaries are located somewhere else than the standard /bin/ you
will need to edit the first line of bin/werc.rc (Note that p9p in particular is will need to edit the first line of bin/werc.rc (Note that p9p in particular is
picky about where it is located, once you run ./INSTALL you should *not* move picky about where it is located, once you run ./INSTALL you should *not* move