doc/book/en/admin/instance-config.rst
changeset 7482 0fa5dee25b7d
parent 7226 e88c57c10b34
child 7483 b9740d6a1ec3
--- a/doc/book/en/admin/instance-config.rst	Thu Jun 09 12:31:28 2011 +0200
+++ b/doc/book/en/admin/instance-config.rst	Thu Jun 09 14:37:32 2011 +0200
@@ -43,18 +43,31 @@
 use apache (for example) for redirection and the variable `main.https-url`
 of configuration file.
 
+For this to work you have to activate the following apache modules :
+
+* rewrite
+* proxy
+* http_proxy
+
+The command on Debian based systems for that is ::
+
+  a2enmod rewrite http_proxy proxy
+  /etc/init.d/apache2 restart
+
 :Example:
 
    For an apache redirection of a site accessible via `http://localhost/demo`
    and `https://localhost/demo` and actually running on port 8080, it
    takes to the http:::
 
+     RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/demo
      RewriteRule ^/demo$ /demo/
      RewriteRule ^/demo/(.*) http://127.0.0.1:8080/$1 [L,P]
 
    and for the https:::
 
+     RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/ demo
      RewriteRule ^/demo$/demo/
      RewriteRule ^/demo/(.*) http://127.0.0.1:8080/https/$1 [L,P]