ref: aaf1fb867458e59ddbf14d7de8f73a60372a398d
parent: 39b210f26eb8dc2d8a20cca74d33aa5a8eb16198
author: sl <[email protected]>
date: Wed Sep 30 17:31:39 EDT 2009
Documentation and cat-v.org top bar changes.
--- a/sites/default.cat-v.org/_werc/lib/top_bar.inc
+++ b/sites/default.cat-v.org/_werc/lib/top_bar.inc
@@ -1,5 +1,5 @@
<div class="left">
- <a href="http://gsoc.cat-v.org">gsoc</a> |
+ <a href="http://quotes.cat-v.org">quotes</a> |
<a href="http://doc.cat-v.org">docs</a> |
<a href="http://repo.cat-v.org">repo</a> |
<a href="http://sam.cat-v.org">sam</a> |
--- a/sites/werc.cat-v.org/apps/_footer.md
+++ b/sites/werc.cat-v.org/apps/_footer.md
@@ -7,3 +7,4 @@
* [SMAK](http://www.anarchyinthetubes.com/hg/smak/): a "very simple" image gallery by yiyus.
* [hgwerc](http://www.anarchyinthetubes.com/hg/hgwebdir.cgi/hgwerc/): a wrapper around the mercurial web interface to integrate it into werc sites, also by yiyus.
* [scrappydog](http://code.google.com/p/scrappydog/): A werc based online scrapbook by maht.
+* [flip](http://www.anarchyinthetubes.com/hg/flip/): A web interface to view PDFs, by yiyus.
--- a/sites/werc.cat-v.org/apps/dirdir/index.md
+++ b/sites/werc.cat-v.org/apps/dirdir/index.md
@@ -6,7 +6,7 @@
infrastructure.
Features
-========
+--------
DirDir is still somewhat experimental, but already all features diri had, plus some extras thanks to werc's power:
@@ -20,14 +20,22 @@
* Implemented in about two dozen lines of rc scripts.
+Documentation
+-------------
+
+Just login, go to any page, and click the `Edit` button.
+
+To create a new page, go to the address where you want to create the new page, click `Edit`, enter the initial contents, `Save`, and you are done.
+
+
Status
-======
+------
Mostly usable, all basic features already implemented in the latest werc source
tree.
About the name
-==============
+--------------
DirDir is a pun on its predecessor diri and WikiWiki, and [Dirdir is also the title of a novel](http://www.amazon.com/gp/product/0879974788?ie=UTF8&tag=catv-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0879974788) by science fiction and literature grand master [Jack Vance](http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26search-type%3Dss%26index%3Dbooks%26ref%3Dntt%255Fathr%255Fdp%255Fsr%255F1%26field-author%3DJack%2520Vance&tag=catv-20&linkCode=ur2&camp=1789&creative=39095).
--- /dev/null
+++ b/sites/werc.cat-v.org/docs/web_server_setup/_header.md
@@ -1,0 +1,16 @@
+Setting Up Your HTTP Server to Run Werc
+=======================================
+
+
+Werc should work with any web server that supports the CGI interface, and a few
+that don't. Here are collected instructions and sample configurations for some
+of the most popular HTTP servers that people has used with werc.
+
+In general setup consists of mapping all paths for a virtual host to the
+werc.rc script, usually in practice this means that the `document root` (or
+similar concept) for a virtual host is mapped to
+`/path/to/werc/sites/domain.name.com/`, and if no static file matches the
+request, control is handed to werc.rc, this allows the HTTP server to handle
+static files and werc to handle everything else (note that such a setup will
+expose your `_werc/config` files, which usually should not be a security
+issue).