shithub: werc

ref: b9a1531ee8e6e352a0c6d9d40a9835bd92b82b93
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
    }