shithub: werc

ref: 6ea76e42f2a70a5cb89ffbf4c0e1681f391182d5
dir: /sites/werc.cat-v.org/docs/web-server-setup/hiawatha.md/

View raw version
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
    }