swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 6b5193e2765ea6ba291d76fce3b7d407929e907c
parent 3db1f0a4ccaacdc676986931e962f9c142b8d593
Author: uriel@soma <unknown>
Date:   Fri,  6 Mar 2009 00:02:53 +0000

Update nhttpd setup docs.
Diffstat:
Msites/werc.cat-v.org/docs/web_server_setup/nhttpd.md | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sites/werc.cat-v.org/docs/web_server_setup/nhttpd.md b/sites/werc.cat-v.org/docs/web_server_setup/nhttpd.md @@ -37,7 +37,8 @@ so it will handle every request). # ALIASES [OPTIONAL] /pub /path/to/werc/pub - /favicon.ico /path/to/werc/pub/default_favicon.ico + # The following line doesn't work because nhttpd doesn't support file aliases yet. + #/favicon.ico /path/to/werc/pub/default_favicon.ico # VIRTUAL HOSTS [OPTIONAL] @@ -48,7 +49,7 @@ so it will handle every request). To use werc on `main.host.com` as well just set `docroot` to `/path/to/werc/bin/werc.rc` and set `docindex` to empty string. -There was a bug in nhttpd <=1.9, it did not set `SERVER_NAME` properly (leaft it `main.host.com`). +There was a bug in nhttpd <=1.9, it did not set `SERVER_NAME` properly (left it `main.host.com`). To solve this problem just add a SERVER_NAME=$HTTP_HOST @@ -56,3 +57,4 @@ To solve this problem just add a line somewhere at the top of `werc.rc`. +