Refactor the CollectionHTTPServer around a wsgi-style request handler.
[jelmer/calypso.git] / README
diff --git a/README b/README
index 398e00065c4104b465d9e00f42cc24ccc6ac2e75..09c9f6c55f6518ff0fa1d30843990fb73f73aef1 100644 (file)
--- a/README
+++ b/README
@@ -90,3 +90,17 @@ the put the service name to use into ~/.config/calypso/config:
 
 and install the pykerberos module. You should then be able to authenticate
 via Kerberos using GSSAPI.
+
+Using from WSGI
+---------------
+
+Calypso can either be run as its own independent server, or from
+a WSGI server like Apache with mod_wsgi. To run it from Apache,
+enable mod_wsgi (by running "a2enmod wsgi") and set something like:
+
+WSGIScriptAlias /dav /home/example/src/calypso/wsgi.py
+# If calypso is not in the system python Path:
+# WSGIPythonPath /home/example/src/calypso
+WSGIDaemonProcess foo.example.com user=username processes=5 threads=4 display-name=%{GROUP}
+WSGIProcessGroup foo.example.com
+WSGIPassAuthorization On