Documentation
¶
Overview ¶
Wercsrv is a simple go http server to use for serving werc-driven sites.
To use, run in a werc root or provide a "root" argument. The address to serve HTTP on is set by and argument to the "addr" flag.
To set up werc, see the werc homepage: http://werc.cat-v.org
NOTES ¶
Any port is stripped from the "Host" header passed to werc.
The PLAN9 environment variable is passed through to child processes, but bin/werc.rc may need to be patched if plan9port is not in /usr/local/plan9.
Click to show internal directories.
Click to hide internal directories.