# HG changeset patch # User Dustin Demuth # Date 1443790739 -7200 # Node ID f2001df0e4948fb9e5f03699e0c9b431e00dc361 # Parent 94d8ea3b98ba548eb15de1d547be7d74f542d0ff Added Documentation how to enable printing diff -r 94d8ea3b98ba -r f2001df0e494 INSTALL.markdown --- a/INSTALL.markdown Thu Oct 01 10:24:06 2015 +0200 +++ b/INSTALL.markdown Fri Oct 02 14:58:59 2015 +0200 @@ -146,6 +146,9 @@ Nun muss noch ein Reverse-Proxy eingerichtet werden. Dieser ist nur für bestimmte Adressen aktiv. +Sollte aus dem Lada-Client heraus mittels PrintApp in mapfish-print gedruckt werden, +so ist auch der zweite Proxy notwendig. + Folgende Datei sollte unter `/etc/httpd/conf.d/lada.conf` angelegt werden: ``` @@ -157,6 +160,9 @@ # Set multiple Proxys ProxyPass /lada/server http://LADASERVER/lada ProxyPassReverse /lada/server http://LADASERVER/lada + # Add Printing + ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print + ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print ``` Alle Anfragen an die Adresse `/lada/service`, werden nun an den Server diff -r 94d8ea3b98ba -r f2001df0e494 app.js --- a/app.js Thu Oct 01 10:24:06 2015 +0200 +++ b/app.js Fri Oct 02 14:58:59 2015 +0200 @@ -61,7 +61,7 @@ Lada.userroles = ''; Lada.logintime = ''; Lada.mst = []; - Lada.clientVersion = '2.1.1'; + Lada.clientVersion = '2.1.2'; Lada.serverVersion = ''; var queryString = document.location.href.split('?')[1];