ref: 952d2050d28159593e3773d99ce6a40d0718e515
parent: bb90a79a1dfd3ba012b7123a3de77a9ec8cd475b
author: sl <[email protected]>
date: Thu Mar 5 19:02:53 EST 2009
Update nhttpd setup docs.
--- 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 @@
# 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,11 +49,12 @@
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
line somewhere at the top of `werc.rc`.
+