[Mapbender-users] redirect a template behind OWSPROXY

"Jäger, Frank (KRZ)" F.Jaeger at KRZ.DE
Wed Dec 5 03:48:39 PST 2012

Couln't escape.
I Tried " window.open( )" alternative to " document.location.href " to get out of the Mapbender-iFrame and directly call the PHP-Script in a new Window.
This also is catched from OWSPROXY which destroys the $_REQUEST-Values.

The PHP-Script is located on the outer side and the request has not to pass throught the OWSPROXY but is redirected to it.

Any Ideas?

Which javascript-Command can close the Mapbender-iFrame for WMS-FeatureInfo from inside after opening a new windows?


-----Ursprüngliche Nachricht-----
Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von "Jäger, Frank (KRZ)"
Gesendet: Montag, 3. Dezember 2012 16:13
An: Mapbender User (mapbender_users at lists.osgeo.org)
Betreff: [Mapbender-users] redirect a template behind OWSPROXY

i have a Problem:  A simple HTML-Template can't show what I want to show.
So I redirect some [parameters] from a WMS-Feature-Info to a PHP-Script which generates the HTML-output using a database-connection.


<script language="Javascript">
 function Init() {
   var myProggi="http://server/path/prog.php?"
   var myParms="&gkz=[gkz]&gid=[gid]&subart=[subart]"		
  document.location.href=myProggi + encodeURI(myParms); } </script> </head>
  <body onload="Init()">

This works fine in Intranet. To bring the WMS to WWW I have to use Mapbender's  OWSPROXY.
The PHP-script is at last called with:

This is redirected to my PHP-script but it cannot get the parameters via 
and so on.

What went wrong?

Frank Jäger

Mapbender_users mailing list
Mapbender_users at lists.osgeo.org

More information about the Mapbender_users mailing list