Installation de Lizmap sous Windows

La documentation montre la progression de l’installation de Lizmap Web Client dans un environnement Windows 10. Les autres versions de Windows ne devraient pas poser de problème.

Note

Dans la documentation la version 3.0 de Lizmap Web Client est utilisée. Soyez certain de l’adapter en fonction de la version que vous voulez installer (la dernière est recommandée).

Configuration du serveur Apache 2.x.x

Nous allons d’abord créer un dossier proche de C:\. Par exemple, C:\webserver\. Après cela, nous allons télécharger Apache 64 bits, compilé avec VC11, par exemple : http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.20-win64-VC11.zip.

Note

Vous pouvez utiliser d’autres versions http://www.apachelounge.com/download/VC11/

Extraire le fichier zip dans le répertoire C:\webserver\ et changez le nom de httpd-2.4.20-win64-VC11 à Apache24. Ensuite, il faut ouvrir le fichier de configuration d’Apache C:\webserver\Apache24\conf\httpd.conf et le modifier avec un éditeur de texte (par exemple Notepad++ ou Notepad) pour remplacer tous les C:/Apache24 en C:/webserver/Apache24.

Après cette modification, cherchez avec Ctrl+F la variable ServerName et ajoutez à la suite les mots suivants ServerName localhost. Si vous continuez dans ce fichier, vous allez trouver « DirectoryIndex index.html » qui est à remplacer par DirectoryIndex index.html index.php et sauvegarder le fichier.

Pour voir si Apache peut démarrer, ouvrir l’invite de commande avec Windows+R et taper cmd, ensuite écrire dans le shell C:\webserver\Apache24\bin\httpd.exe et ne fermer pas la fenêtre cmd.

Avertissement

Il est important d’effectuer un CLIQUE DROIT et « Exécuter en tant qu’administrateur » pour avoir accès à toutes les fonctions. Il faut le faire à chaque fois que l’on souhaite utiliser le Shell

Après avoir écrit l’instruction, appuyez sur Entrée. Vous allez recevoir une notification du parefeu Windows, il faut alors Autoriser l’accès pour tous. Ouvrez le navigateur et taper http://localhost et appuyez sur Entrée, cela devrait ouvrir une page avec le « It Works ».

Avertissement

Si vous n’avez pas d’alerte du parfeux Windows, cela signifie sûrement que vous avez un anti-viruse qui le gère. Dans ce cas, vous devez modifier la configuration pour ajouter le service apache de façon manuelle. Autre astuce, si le parfeux Windows n’indique pas la boite de dialogue précédente, vous devez ajouter manuellement le port 80 en entrée et sortie dans les propriétés avancées du parfeux windows (panneau de configuration > outils d’administration > Parfeux windows avec sécurité avancée

Open the cmd where you run the previous command and press Ctrl+C to stop Apache. Then add the Apache to your Windows System Path allowing to you call the apache directly in the cmd. So for this task, you hold the Windows and press Pause. Then, click in Advanced System Settings and then in Environment Variables. The next step is to append (not replace!) ;C:\webserver\Apache24\bin to the Path variable (double-click in « Path » line). After this step, close cmd , reopen cmd and check Apache is correctly declare in the System path. In cmd type httpd then hit enter this will run Apache, if Yes you can stop pressing Ctrl+C.

Il est maintenant temps d’ajouter Apache comme service. Pour cela, vous devez ouvrir un terminal et taper httpd -k install. Cela va démarrer Apache comme un service Windows.

Après avoir configuré Apache comme service, vous aurez besoin du module mod_fgci qui se trouve dans http://www.apachelounge.com/download/VC11/modules/modules-2.4-win64-VC11.zip .

Note

Vous pouvez utiliser une autre installation http://www.apachelounge.com/download/VC11/

The link above include several apache modules, unzip the file mod_fcgid-2.3.9mod_fcgidmod_fcgid.so into the directory C:\webserver\Apache24\modules\. After this you need to change the Apache configuration in C:\webserver\Apache24\conf\httpd.conf and enable the modules that you need. Search for LoadModule command lines and the line LoadModule fcgid_module modules/mod_fcgid.so. In the added LoadModule line please uncheck ( remove #) the following modules: mod_actions.so, mod_ssl.so, mod_rewrite.so, mod_headers.so, mod_deflate.so, mod_expires.so, mod_ext_filter.so, mod_ident.so. This action will activate them.

Note

If you need to use a different port, it’s necessary active others modules associated to proxy : proxy, proxy_http, proxy-connect, proxy-fcgin cache, disk-cache, headers

Vous devez configurer la compression des fichiers, vous devez donc ajouter les lignes suivantes à la fin de la httpd configuration file:

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\\.0[678] no-gzip
  BrowserMatch \\bMSIE !no-gzip !gzip-only-text/html
  SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png|rar|zip)$ no-gzip dont-vary
  Header append Vary User-Agent env=!dont-vary
</IfModule>

Note

If another port is to be used e.g. 1664, add Listen option to the Apache httpd.conf file: Listen 80 Listen 1664

After this restart the Apache use the command-line and type httpd -k restart .

Configuration php 5.x.xx

Avertissement

Lizmap Web Client s’appuie sur Jelix 1.6. Vous devez installer au minimum la version 5.4 de PHP. Les extensions dom, simplexml, pcre, session, tokenizer et spl sont requises (elles sont actives en général dans une installation standard de PHP 5.4).

Go to http://windows.php.net/download/ and download php-5.6.23-Win32-VC11-x64.zip , make sure it is the non-thread-safe file, for example: http://windows.php.net/downloads/releases/php-5.6.23-Win32-VC11-x64.zip

After download unzip in C:\webserver\php-5.6.23 and go to the file C:\webserver\php-5.6.23\php.ini-production and change into C:\webserver\php-5.6.23\php.ini. Open the php.ini and search for extension dir directive and change to the properly locate of EXT folder, make sure that you enter the full path like this extension_dir = « C:\webserver\php-5.6.23\ext ». Now is time to activate the php modules, for this task you need to uncommeting the following lines:

extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite3.dll

Then you need to change the upload values from deafult value to 15M and will stay like upload_max_filesize = 15M. Do the same for post_max_size and change from default value to 15M like this post_max_size = 15M. After this changes save the file. Add the PHP to your Windows System Path allowing to you call the apache directly in the cmd. So for this task, you hold the Windows and press Pause. Then, click in Advanced System Settings and then in Environment Variables. The next step is to append (not replace!) ;C:\webserver\php-5.6.23 to the Path variable (double-click in « Path » line). After this step, close cmd , reopen cmd and check PHP is correctly declare in the System path. In cmd type php -m You will check now the Apache configuration with httpd -S

After this steps and you need to create a configuration file for using of PHP, so you need to create a file in C:/webserver/Apache24/conf/extra/ with the name of php-5.6.23.conf. This can be done if you open a text editor and save it with the following code:

FcgidInitialEnv PHPRC "C:\\webserver\\php-5.6.23"
 <FilesMatch \\.php$>
  AddHandler fcgid-script .php
  FcgidWrapper "C:/webserver/php-5.6.23/php-cgi.exe" .php
 </FilesMatch>

Note

Make sure that you have the extension .conf in this file.

Go to http.conf and uncomment the line Include conf/extra/httpd-vhosts.conf . This will permit you add new virtual hosts in the file C:/webserver/Apache24/conf/extra/httpd-vhosts.conf. After this change save the file. You need to create the new virtual host, so open the file C:/webserver/Apache24/conf/extra/httpd-vhosts.conf and comment or delete the two examples inside (approximately between lines 23 and 38). If you add the comment in the default examples, copy and paste this configurations after the default configurations:

<VirtualHost *:80>
  Include conf/extra/php-5.6.23.conf
  ServerName localhost
  DocumentRoot "C:/webserver/lizmap/"

  <Directory "C:/webserver/lizmap">
      Options -Indexes +FollowSymLinks +ExecCGI
      AllowOverride All
      Require all granted
  </Directory>

  CustomLog "logs/lizmap-access.log" common
  ErrorLog "logs/lizmap-error.log"
</VirtualHost>

After this step save the file. Create a folder with the name lizmap inside C:/webserver and in the C:/webserver/lizmap add a file with PHP extension and save with this code inside of file:

php <?php phpinfo(); ?>

Restart Apache in command line with httpd -k restart and see if everything is right. If YES, open the browser and type http://localhost/index.php and will appear the page of PHP properties we assume that you install correctly the PHP.

Note

concernant les extensions PHP du driver PostgreSQL vous devez les avoir installées.

Installation de QGIS Server

Rendez vous à http://www.qgis.org et téléchargez le fichier Osgeo4W Network installer (64 bit) (par ex. http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe) et exécutez l’installateur. Choisissez les options suivantes:

  1. Installation avancée ;
  2. Installation depuis internet ;
  3. Root Directory C:\OSGeo4W64 et install for all users;
  4. Conserver les valeurs par défaut de Local Package Directory et Start Menu Name
  5. Ne configurez pas le proxy si ce n’est pas nécessaire
  6. Choose a download site : click on http://download.osgeo.org the « Next »
  7. Sélectionné les paquets : Commandline_Utilities/gdal, Desktop/Qgis full , Web/Qgis server, lib/fcgi ensuite Next (À des fins de stabilité nous utilisons la version QGIS LTR)
  8. Accept to get packages to meet dependencies : Next then Wait for the download to be completed and Agree to all licenses

Note

Ce processus peut être long (~ 1 heure).

After the installation we need to configure QGIS Server to be accessible as fcgi, so you need to modify the file in the directory C:/webserver/Apache24/conf/extra/httpd-vhosts.conf to have this content:

<VirtualHost *:80>
Include conf/extra/php-5.6.23.conf
ServerName localhost

# Lizmap Production
DocumentRoot "C:/webserver/lizmap/prod/"
<Directory "C:/webserver/lizmap/prod">
    Options -Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

# LizMap Pré-production
Alias /preprod/ "C:/webserver/lizmap/preprod/"
<Directory "C:/webserver/lizmap/preprod">
    Options -Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

Alias /qgis/ "C:/OSGeo4W64/apps/qgis-ltr/bin/"
<Directory "C:/OSGeo4W64/apps/qgis-ltr/bin/">
    SetHandler fcgid-script
    Options +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

CustomLog "logs/lizmap-access.log" common
ErrorLog "logs/lizmap-error.log"
</VirtualHost>

After this modification go to the file C:\webserver\Apache24\conf\extra\php5.6.23.conf and modify it as well to have the next configuration:

FcgidInitialEnv PHPRC "C:\\webserver\\php-5.6.23"

FcgidInitialEnv PATH "C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis-ltr\bin;C:\OSGeo4W64\apps\grass\grass-6.4.3\lib;C:\OSGeo4W64\apps\grass\grass-6.4.3\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\WBem"
 FcgidInitialEnv QT_PLUGIN_PATH "C:\OSGeo4W64\apps\qgis-ltr\qtplugins;C:\OSGeo4W64\apps\Qt4\plugins"
 FcgidInitialEnv PYTHONHOME "C:\OSGeo4W64\apps\Python27"
 FcgidInitialEnv PYTHONPATH "C:\OSGeo4W64\apps\qgis-ltr\.\python;C:\OSGeo4W64\apps\qgis-ltr\.\python\plugins;C:\OSGeo4W64\apps\Python27\DLLs;C:\OSGeo4W64\apps\Python27\lib;C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\Python27;C:\OSGeo4W64\apps\Python27\lib\site-packages"

FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
FcgidInitialEnv QGIS_SERVER_LOG_FILE "C:\\webserver\\Apache24\\logs\\qgis_server.log"

FcgidIOTimeout 120
      FcgidInitialEnv LC_ALL "en_US.UTF-8"
      FcgidInitialEnv PYTHONIOENCODING UTF-8
      FcgidInitialEnv LANG "en_US.UTF-8"
      FcgidInitialEnv QGIS_DEBUG 1
      FcgidInitialEnv QGIS_SERVER_LOG_FILE "C:\\webserver\Apache24\logs\\qgis_server.log"
      FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
      FcgidInitialEnv QGIS_PLUGINPATH "C:\OSGeo4W64\apps\qgis-ltr\python\plugins"

SetEnvIf Request_URI ^/qgis QGIS_PREFIX_PATH "C:\OSGeo4W64\apps\qgis-ltr"
SetEnvIf Request_URI ^/qgis TEMP "C:\Windows\Temp"

SetEnvIf Request_URI ^/qgis GDAL_DATA "C:\OSGeo4W64\share\gdal"
SetEnvIf Request_URI ^/qgis GDAL_DRIVER_PATH "C:\OSGeo4W64\bin"
SetEnvIf Request_URI ^/qgis PDAL_DRIVER_PATH "C:\OSGeo4W64\bin"
SetEnvIf Request_URI ^/qgis GDAL_SKIP "JP2ECW"
SetEnvIf Request_URI ^/qgis PROJ_LIB "C:\OSGeo4W64\share\proj"

 <FilesMatch \.php$>
  AddHandler fcgid-script .php
  FcgidWrapper "C:/webserver/php-5.6.23/php-cgi.exe" .php
 </FilesMatch>

After the changes restart apache, type in commandline the instruction:

httpd -k restart

Now it’s time to test the QGIS Server and see if is accessible in fcgi, for this you nee to type in the browser the link: http://localhost/qgis/qgis_mapserv.fcgi.exe and if everything is right you will receive the following response:

<ServiceExceptionReport version="1.3.0">
  ServiceException code="OperationNotSupported">Please check the value of the REQUEST parameter</ServiceException>
</ServiceExceptionReport>

Préparation du dossier d’accueil de Lizmap Web Client

Now you will install 2 environments, one for production and other for preproduction, for this action you need to create in the following folders: C:\webserver\lizmap\prod\ and C:\webserver\lizmap\preprod\

Go to 3Liz Github repository https://github.com/3liz/lizmap-web-client/tags and get the last version in ZIP format. For example, you can use 3.0 ( https://codeload.github.com/3liz/lizmap-web-client/zip/release_3_0.zip) or for master version (https://github.com/3liz/lizmap-web-client/archive/master.zip).

Each environment will have several versions in parallel. For example: master and release_3_0. For that you need to unzip in C:\webserver\lizmap to have at the end a folder (example give for production and master version environment) C:\webserver\lizmap\prod\master\ Then create a directory where you will put the tile cache in prod C:/webserver/cache/prod and for preprod C:/webserver/cache/preprod.

After create the cache folders, modify the virtual host to point to the www folder of lizmap web client application. Got to the file C:/webserver/Apache24/conf/extra/httpd-vhosts.conf and replace for the example: C:/webserver/lizmap by C:/webserver/lizmap/prod/master/lizmap/www .

# example configuration in httpd-vhosts.conf
<VirtualHost *:80>
Include conf/extra/php5.6.23.conf
ServerName localhost

# Lizmap Production
# Version master
DocumentRoot "C:/webserver/lizmap/prod/master/lizmap/www/"
<Directory "C:/webserver/lizmap/prod/master/lizmap/www/">
    Options -Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

# LizMap Pré-production
# Version master used
Alias /preprod/ "C:/webserver/lizmap/preprod/master/lizmap/www/"
<Directory "C:/webserver/lizmap/preprod/master/lizmap/www/">
    Options -Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

Alias /qgis/ "C:/OSGeo4W64/apps/qgis-ltr/bin/"
<Directory "C:/OSGeo4W64/apps/qgis-ltr/bin/">
    SetHandler fcgid-script
    Options +ExecCGI
    AllowOverride All
    Require all granted
</Directory>

# ABP: needed for authentication in Lizmap
<IfModule mod_fcgid.c>
    RewriteEngine on
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

CustomLog "logs/lizmap-access.log" common
ErrorLog "logs/lizmap-error.log"
</VirtualHost>

After the replacement save the file and restart Apache with the command-line instruction:

httpd -k restart

In case of lizmap version >= 3.0, you must use some scripts to install it properly (see https://github.com/3liz/lizmap-web-client/blob/master/INSTALL.md ). Open the command-line (cmd.exe) and write the next instructions:

cd C:\webserver\lizmap\prod\master\
cd lizmap\var\config
copy lizmapConfig.ini.php.dist lizmapConfig.ini.php
copy localconfig.ini.php.dist localconfig.ini.php
copy profiles.ini.php.dist profiles.ini.php
cd ..\..\..

Au cas où vous voudriez activer le répertoire des démos, ajoutez juste dans localconfig.ini.php :

[modules]
lizmap.installparam=demo

Ensuite vous pouvez lancer l’installateur en ligne de commande (cmd):

cd C:\webserver\lizmap\prod\master\
php lizmap\install\installer.php

Utilisation de PostgreSQL en tant que base de données d’administration (Optionnel)

Note

Pré-requis : installation de PostgreSQL/PostGIS

By default, when you install LizMap Web Client, you will install a sqlite database where will be store the information about users, permissions among other information.

Imagine that you are GIS Manager and you want to link the user and password credentials of lizmap to the PostgreSQL users and password credentials.

For that before the installation you need to change the file profiles.ini.php in the folder C:\webserver\lizmap\lizmap-web-client-master\lizmap\var\config with the following lines:

default=jauth
jacl2_profile=jauth

Add ; to deactivate the sqlite database.

;[jdb:jauth]
;driver=sqlite3
;database="var:db/jauth.db"

;[jdb:lizlog]
;driver=sqlite3
;database="var:db/logs.db"
; when you have charset issues, enable force_encoding so the connection will be
; made with the charset indicated in jelix config
;force_encoding = on

; with the following parameter, you can specify a table prefix which will be
; applied to DAOs automatically. For manual jDb requests, please use method
; jDbConnection::prefixTable().
;table_prefix =

Remove ; and fill with PostgreSQL credentials:

;Example of different driver (e.g PostgreSQL)
[jdb:jauth]
driver="pgsql"
database="name_of_database"
host="localhost"
user="Admin_user_postgreSQL"
password="put_here_the_password"

[jdb:lizlog]
driver="pgsql"
database="name_of_database"
host="localhost"
user="Admin_user_postgreSQL"
password="put_here_the_password"


; Example for pdo (eg. MySQL):
;driver=pdo
;dsn=mysql:host=your_host;dbname=name_of_database
;user=
;password=

Configuration du panneau d’administration Lizmap

After the correct installation with the installer, go to http://localhost/index.php and you sould see the Lizmap application home page with the demo project Montpellier - Transport. Now it’s time to configure the LizMap Admin Panel, go to http://localhost/admin.php and do the login with user=admin and password=admin. Then for security proposes change the admin password, for example: lizmap_12345. If you want so, you can delete the users lizadmin and logintranet. You can do the same for groups, in this case delete group Intranet Demo Group and Lizadmin group. Go to Lizmap configuration menu / Delete the « intranet » repository (at the bottom). Then you need to change the URL WMS Server, go to Lizmap configuration menu / Edit the Services form and change the WMS Server URL from: http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi to http://localhost/qgis/qgis_mapserv.fcgi.exe After that, also change the cache directory from C:/Windows/Temp/ to: C:/webserver/cache/ and save this configuration. Now check the Montpellier demo project is working: http://localhost/index.php/view/map/?repository=montpellier&project=montpellier

Configuration des dossiers Lizmap

You need to create a Lizmap directory architecture for organization porposes. Create the following directories via a *.bat file ( Please Check line ends are correct, you can open using notepad and not notepad++):

mkdir C:\webserver\data\common\
mkdir C:\webserver\data\document\
mkdir C:\webserver\data\prod\
mkdir C:\webserver\data\prod\common\
mkdir C:\webserver\data\prod\rep1\
mkdir C:\webserver\data\prod\rep1\media\
mkdir C:\webserver\data\prod\rep1\media\js\
mkdir C:\webserver\data\prod\rep2\
mkdir C:\webserver\data\prod\rep2\media\
mkdir C:\webserver\data\prod\rep2\media\js\
mkdir C:\webserver\data\preprod
mkdir C:\webserver\data\preprod\common\
mkdir C:\webserver\data\preprod\rep1\
mkdir C:\webserver\data\preprod\rep1\media\
mkdir C:\webserver\data\preprod\rep1\media\js\
mkdir C:\webserver\data\preprod\rep2\
mkdir C:\webserver\data\preprod\rep2\media\
mkdir C:\webserver\data\preprod\rep2\media\js\

Now we need to get access to the folder C:\webserver\data\prod and its subfolders so that the GIS admin can send the QGIS project files, the Lizmap configuration file for each project, the GIS data into these folders and other documents. Go to Lizmap administration panel in http://localhost/admin.php and create the new repository. Follow this steps:

  • Lizmap configuration / Create a new repository (button at the bottom of the page)
  • id = rep1
  • label = Un nom pour le dépôt (vous pourrez le changer plus tard)
  • path = /webserver/data/prod/rep1/

Note

IMPORTANT POUR LE CHEMIN DU DÉPÔT, NE PAS UTILISER : C:\webserver\data\prod\rep1

In Apache you need to Add a vhost to publish SVG and images files via HTTP this will avoid the bug in QGIS Server under Windows which cannot display SVG icon when you have a relative path. Create a folder D:/webserver/data/document/ and modify the file C:/webserver/Apache24/conf/extra/httpd-vhosts.conf . Please add these lines before CustomLog:

Alias /document/ "C:/webserver/data/document/"
<Directory "C:/webserver/Data/document">
    Options -Indexes +FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

After this step save and restart Apache. Please check if you can add svg file in the folder C:/webserver/Data/document/svg/, for example C:/webserver/Data/document/svg/my_icon.svg and then access it via http://localhost/document/svg/my_icon.svg and use it as the SVG path in the style properties of a vector layer.

Configuration du serveur Filezilla

Now you will configure a FTP to have a rmeote access and deploy in a easy way into the server the qgis projects and their project elements. First you need to download at https://filezilla-project.org/download.php?type=server. Then install the default configuration.

Note

Do not forget to « Execute with admin rights »

  1. Specify the Port: 14147 .
  2. Open the FileZilla Server Interface trough Windows Menu / All programs / FileZilla Server / FileZilla Server Interface and click OK to connect (no password required yet).
  3. Modify some options via Menu Edit / Settings and change IP Filter if needed : to filter only some IP, use « * » in the first block, the add the mask in the second block.
  4. Passive mode settings : Use following IP : write your public IP + change port range : 5500 5700.
  5. Logging: Enable logging to file, and limit log file size to 500 KB.
  6. SSL/TLS settings : Enable FTP over SSL/TLS && Generate new certificate into C:webservercertftp_certificate.crt && Allow explicit FTP over TLS && Disallow plain unencrypted FTP && Leave port 990.
  7. Autoban - Activé le avec les valeurs par défaut.
  8. Create user: Edit / Users - button Add user= lizmap_user and pass= choose_a_password
  9. Shared folder: Add D:\webserver\prod\data - Give all rights by checking checkboxes for Files and Directories.
  10. You can add IP filter here too if needed.

Now you need to it, install FireFTP and restart Firefox. After that try to connect with: Server = localhost . Use Passive mode AND check IPV6.

Now you need to set the PREPROD environment, for this you need to:

  1. Copy C:\webserver\lizmap\prod content into C:\webserver\lizmap\preprod ;
  2. Delete content of folder C:\webserver\lizmap\preprod\master\temp\lizmap\www\ ;
  3. Lauch admin web interface to configure preprod lizmap repositories: http://localhost/preprod/admin.php ;
  4. In Lizmap / Configuration Lizmap / Services : Change « Cache root directory » into C:\webserver\cache\preprod.