changelog shortlog tags branches changeset files file revisions raw help

Mercurial > hg > werc / annotate 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.
uriel@592 1
 Setting Up Your HTTP Server to Run Werc
uriel@592 2
 =======================================
uriel@592 3
 
uriel@592 4
 
uriel@592 5
 Werc should work with any web server that supports the CGI interface, and a few
uriel@592 6
 that don't. Here are collected instructions and sample configurations for some
uriel@592 7
 of the most popular HTTP servers that people has used with werc.
uriel@592 8
 
uriel@592 9
 In general setup consists of mapping all paths for a virtual host to the
uriel@592 10
 werc.rc script, usually in practice this means that the `document root` (or
uriel@592 11
 similar concept) for a virtual host is mapped to
uriel@592 12
 `/path/to/werc/sites/domain.name.com/`, and if no static file matches the
uriel@592 13
 request, control is handed to werc.rc, this allows the HTTP server to handle
uriel@592 14
 static files and werc to handle everything else (note that such a setup will
uriel@592 15
 expose your `_werc/config` files, which usually should not be a security
uriel@592 16
 issue).