changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > werc / sites/werc.cat-v.org/docs/web_server_setup/_header.md

changeset 592: 0202b270605e
author: uriel@soma
date: Wed, 30 Sep 2009 21:31:39 +0000
permissions: -rw-r--r--
description: Documentation and cat-v.org top bar changes.
1 Setting Up Your HTTP Server to Run Werc
2 =======================================
3 
4 
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.
8 
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/domain.name.com/`, 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).