werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

_header.md (814B)


      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).