1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-05 17:08:29 +00:00

Small documentation fixes

This commit is contained in:
Guillaume Ayoub 2011-08-12 12:26:55 +02:00
parent 1733c696e5
commit a101e8e47a
2 changed files with 35 additions and 23 deletions

View file

@ -24,6 +24,8 @@ Radicale runs on most of the UNIX-like platforms (Linux, \*BSD, MacOS X) and
Windows. It is free and open-source software, written in Python, released under Windows. It is free and open-source software, written in Python, released under
GPL version 3. GPL version 3.
.. log::
Main Features Main Features
============= =============

View file

@ -340,44 +340,54 @@ options. These options are available by typing::
radicale --help radicale --help
Use Radicale with Apache2 and mod_wsgi WSGI, CGI and FastCGI
-------------------------------------- ---------------------
For using Radicale with Apache's ``mod_wsgi``, you first have to write Radicale comes with a `WSGI <http://wsgi.org/>`_ support, allowing the software
your ``.wsgi`` file (in ``/var/www`` for example): to be used behind any HTTP server supporting WSGI such as Apache.
Moreover, it is possible to use `flup
<http://trac.saddi.com/flup/wiki/FlupServers>`_ to wrap Radicale into a CGI,
FastCGI, SCGI or AJP application, and therefore use it with Lighttpd, Nginx or
even Tomcat.
Apache and mod_wsgi
~~~~~~~~~~~~~~~~~~~
To use Radicale with Apache's ``mod_wsgi``, you first have to write your
``.wsgi`` file (in ``/var/www`` for example):
.. code-block:: python .. code-block:: python
import radicale import radicale
application = radicale.Application() application = radicale.Application()
.. note:: .. note::
We assume that Radicale is installed in your Python path. We assume that the Radicale module is installed in your Python path.
Next you have to create the apache virtual host (adapt the configuration Next you have to create the Apache virtual host (adapt the configuration
to your environment): to your environment):
.. code-block:: apache .. code-block:: apache
<VirtualHost *:80> <VirtualHost *:80>
ServerName cal.yourdomaine.org ServerName cal.yourdomain.org
WSGIDaemonProcess radicale user=www-data group=www-data threads=1 WSGIDaemonProcess radicale user=www-data group=www-data threads=1
WSGIScriptAlias / /var/www/radicale.wsgi WSGIScriptAlias / /var/www/radicale.wsgi
<Directory /var/www> <Directory /var/www>
WSGIProcessGroup radicale WSGIProcessGroup radicale
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
AllowOverride None AllowOverride None
Order allow,deny Order allow,deny
allow from all allow from all
</Directory> </Directory>
</VirtualHost> </VirtualHost>
.. note:: .. note::
You should use the root of the (sub)domain (``WSGIScriptAlias /``), else You should use the root of the (sub)domain (``WSGIScriptAlias /``), else
some CalDAV features will not work. some CalDAV features will not work.
Authentication and URLs Authentication and URLs