diff --git a/doc/integration/web_servers.rst b/doc/integration/web_servers.rst
index a7de97298..ec4911a63 100644
--- a/doc/integration/web_servers.rst
+++ b/doc/integration/web_servers.rst
@@ -10,31 +10,78 @@ Web servers
Apache2
*******
-First, make sure that both *apache2* and *mod_python* are installed on
-your server.
+mod_wgsi
+========
+
+First, make sure that *mod_wsgi* is installed on your server.
Create a new virtualhost in your Apache configuration and put the
-following inside::
+following content inside::
+ ServerName
+ DocumentRoot
+
+ Alias /media/ /media/
+ /media>
+ Order deny,allow
+ Allow from all
+
+
+ Alias /sitestatic/ /sitestatic/
+ /sitestatic>
+ Order deny,allow
+ Allow from all
+
+
+ WSGIScriptAlias / /wsgi.py
+
+
+This is just one possible configuration.
+
+.. note::
+ *Django* 1.3 users, please consult this `page `_,
+ it contains an example *wsgi.py* file.
+
+.. note::
+ You will certainly need more configuration in order to launch
+ Apache.
+
+mod_python
+==========
+
+First, make sure that *mod_python* is installed on your server.
+
+Create a new virtualhost in your Apache configuration and put the
+following content inside::
+
+
+ ServerName
+ DocumentRoot
+
SetHandler mod_python
PythonHandler django.core.handlers.modpython
- PythonPath "[''] + sys.path"
- SetEnv DJANGO_SETTINGS_MODULE modoboa.settings
+ PythonPath "[''] + sys.path"
+ SetEnv DJANGO_SETTINGS_MODULE .settings
- Alias "/sitestatic" "/sitestatic"
+
+ Alias "/sitestatic" "/sitestatic"
SetHandler None
- Alias "/media" "/media"
+
+ Alias "/media" "/media"
SetHandler None
-This is one possible configuration. Note that you will certainly need more
-configuration in order to launch Apache.
+This is just one possible configuration.
+
+.. note::
+ You will certainly need more configuration in order to launch
+ Apache.
.. _nginx-label: