[Mapbender-commits] r10007 - trunk/mapbender/resources/db

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 11 05:17:11 PST 2018


Author: armin11
Date: 2018-12-11 05:17:11 -0800 (Tue, 11 Dec 2018)
New Revision: 10007

Modified:
   trunk/mapbender/resources/db/install_geoportal_mb28.sh
Log:
Fix for rewrite from mobilemap to to mobilemap2 client

Modified: trunk/mapbender/resources/db/install_geoportal_mb28.sh
===================================================================
--- trunk/mapbender/resources/db/install_geoportal_mb28.sh	2018-12-07 14:12:48 UTC (rev 10006)
+++ trunk/mapbender/resources/db/install_geoportal_mb28.sh	2018-12-11 13:17:11 UTC (rev 10007)
@@ -959,8 +959,16 @@
         RewriteRule ^/layer/(.*) http://%{SERVER_NAME}/mapbender/php/mod_showMetadata.php?resource=layer&languageCode=de&id=$1
         RewriteRule ^/wms/(.*) http://%{SERVER_NAME}/mapbender/php/mod_showMetadata.php?resource=wms&languageCode=de&id=$1
         RewriteRule ^/wmc/(.*) http://%{SERVER_NAME}/mapbender/php/mod_showMetadata.php?resource=wmc&languageCode=de&id=$1
-#       RewriteRule ^/metadata/(.*) http://%{SERVER_NAME}/mapbender/php/mod_dataISOMetadata.php?outputFormat=iso19139&id=$1
-#       For typo3 installation
+        RewriteRule ^/dataset/(.*) http://%{SERVER_NAME}/mapbender/php/mod_dataISOMetadata.php?outputFormat=iso19139&id=$1
+        # for mobilemap2 api
+        RewriteCond %{QUERY_STRING} ^(.*)wmcid(.*)$
+        RewriteRule /mapbender/extensions/mobilemap/map.php http://%{SERVER_NAME}/mapbender/extensions/mobilemap2/index.html?%1wmc_id%2
+        RewriteCond %{QUERY_STRING} ^(.*)layerid(.*)$
+        RewriteRule /mapbender/extensions/mobilemap/map.php https://%{SERVER_NAME}/mapbender/extensions/mobilemap2/index.html?%1layerid%2
+        # for digitizing module
+        RewriteRule ^/icons/maki/([^/]+)/([^/]+)/([^[/]+).png$ http://127.0.0.1/mapbender/php/mod_getSymbolFromRepository.php?marker-color=$1&marker-size=$2&marker-symbol=$3 [P,L,QSA,NE]
+
+	# for typo3 installation
         DocumentRoot ${installation_folder}portal
         <Directory />
                 Options FollowSymLinks



More information about the Mapbender_commits mailing list