changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > werc / sites/

changeset 592: 0202b270605e
author: uriel@soma
date: Wed, 30 Sep 2009 21:31:39 +0000
permissions: -rw-r--r--
description: Documentation and top bar changes.
1 Setting Up Your HTTP Server to Run Werc
2 =======================================
5 Werc should work with any web server that supports the CGI interface, and a few
6 that don't. Here are collected instructions and sample configurations for some
7 of the most popular HTTP servers that people has used with werc.
9 In general setup consists of mapping all paths for a virtual host to the
10 werc.rc script, usually in practice this means that the `document root` (or
11 similar concept) for a virtual host is mapped to
12 `/path/to/werc/sites/`, and if no static file matches the
13 request, control is handed to werc.rc, this allows the HTTP server to handle
14 static files and werc to handle everything else (note that such a setup will
15 expose your `_werc/config` files, which usually should not be a security
16 issue).