swerc

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

commit aec7e290aff439f39553bc8729edd4e2dbeb9708
parent 767545fa8323a41a95ee8f5376d468e748c0c33c
Author: uriel@soma <unknown>
Date:   Sun, 31 May 2009 11:46:28 +0000

Add hiawatha sample config.
Diffstat:
Asites/werc.cat-v.org/docs/web_server_setup/hiawatha.md | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/sites/werc.cat-v.org/docs/web_server_setup/hiawatha.md b/sites/werc.cat-v.org/docs/web_server_setup/hiawatha.md @@ -0,0 +1,16 @@ +Hiawatha Web Server Configuration +--------------------------------- + +Contributed by sqweek, thanks! + +This are the relevant bits: + + CGIhandler = /usr/local/plan9/bin/rc:rc + ExecuteCGI = yes + RewriteURL = werc + UrlRewrite { + RewriteID = werc + Match ^(/code|/index|/contact|/clique).* Rewrite /werc.rc + Match ^/$ Rewrite /werc.rc + } +