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 635: dd58ad29ffbf
parent: sites/werc.cat-v.org/docs/web_server_setup/_header.md@0202b270605e
author: Uriel <u@berlinblue.org>
date: Sun, 30 May 2010 18:04:04 +0000
permissions: -rw-r--r--
description: Replace '_' in paths in werc's docs section with '-', and set up apropriate redirects to avoid broken links.
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).