<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Armin,<br>
      <br>
      thank you very much for your quick reply!! At the end it was a DNS
      problem with our server IP, so curl wasn't able to connect with
      the capabilietes document. Everything is working smooth now with
      your config parameters.<br>
      <br>
      Greetings from Mainz,<br>
      Matthias<br>
      <br>
      Am 18.12.2012 17:03, schrieb Armin Retterath:<br>
    </div>
    <blockquote cite="mid:50D093C9.5070406@lvermgeo.rlp.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">hello matthias,<br>
        <br>
        your connection part of the mapbender.conf should read like the
        following (if you use curl connection and no proxy - what i
        suggest. if you use a proxy please set the proxy parameters):<br>
        <br>
        # --------------------------------------------
        <br>
        # type of server-connection
        <br>
        # curl, socket, http
        <br>
        # --------------------------------------------
        <br>
         <br>
        define("CONNECTION", "curl");
        <br>
        #define("CONNECTION", "http");
        <br>
        #define("CONNECTION", "socket");
        <br>
         <br>
        #define("CONNECTION_PROXY", "xx.x.xxx.xx"); // ip
        <br>
        #define("CONNECTION_PORT", "xxxx"); // port
        <br>
        define("CONNECTION_PROXY", ""); // ip
        <br>
        define("CONNECTION_PORT", ""); // port
        <br>
         <br>
         <br>
        define("CONNECTION_USER", ""); // user
        <br>
        define("CONNECTION_PASSWORD", ""); // password
        <br>
        define("CONNECTION_USERAGENT", "GeoPortal Rheinland-Pfalz");
        <br>
         <br>
        # --------------------------------------------
        <br>
        # HOSTs not for Proxy (curl)
        <br>
        # --------------------------------------------
        <br>
        define("NOT_PROXY_HOSTS", "localhost,127.0.0.1");<br>
        <br>
        we use this configuration for over 6 years (since mb 2.4.1)
        without any problems.<br>
        <br>
        if you have further questions - don't hesitate to ask ;-) <br>
        <br>
        regards<br>
        <br>
        armin<br>
        <br>
        On 18.12.2012 16:34, Matthias Uhler wrote:<br>
      </div>
      <blockquote cite="mid:50D08D16.4090607@geoinform.fh-mainz.de"
        type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        Hello mapbender friends,<br>
        <br>
        trying to upload any kind of Capabilities from LANIS OGC
        Services (<a moz-do-not-send="true"
          class="moz-txt-link-freetext"
          href="http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_list.php">http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_list.php</a>)
        into my Mapbener 2.7.2 installation causes following problem:<br>
        <br>
        <small><small><font face="Courier New, Courier, monospace">file:
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities">http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities</a><br>
              Missing parameters: <br>
              <br>
              id: <br>
              version: <br>
              title: <br>
              abstract: <br>
              maprequest: <br>
              capabilitiesrequest: <br>
              featureinforequest: <br>
              gui_wms_mapformat: <br>
              gui_wms_featureinfoformat: <br>
              gui_wms_exceptionformat: <br>
              gui_wms_epsg: <br>
              wms_srs: <br>
              gui_wms_visible: <br>
              gui_wms_opacity: <br>
              support_sld: <br>
              wms Object ( [lastURL] => [wms_id] => [wms_status]
              => [wms_version] => [wms_title] => [wms_abstract]
              => [wms_getcapabilities] =>
              [wms_getcapabilities_doc] => [wms_getmap] =>
              [wms_getfeatureinfo] => [wms_getlegendurl] =>
              [wms_upload_url] => [wms_timestamp] =>
              [wms_timestamp_create] => [wms_srs] => Array ( )
              [wms_termsofuse] => [fees] => [accessconstraints]
              => [contactperson] => [contactposition] =>
              [contactorganization] => [address] => [city] =>
              [stateorprovince] => [postcode] => [country] =>
              [contactvoicetelephone] => [contactfacsimiletelephone]
              => [contactelectronicmailaddress] => [wms_keyword]
              => Array ( ) [data_type] => Array ( ) [data_format]
              => Array ( ) [objLayer] => Array ( )
              [wms_supportsld] => [wms_userlayer] =>
              [wms_userstyle] => [wms_remotewfs] =>
              [gui_wms_mapformat] => [gui_wms_featureinfoformat]
              => [gui_wms_exceptionformat] => [gui_wms_epsg] =>
              [gui_wms_sldurl] => [default_epsg] => 0 [overwrite]
              => 1 ) <br>
              Data not committed</font></small></small><br>
        <br>
        In my error.log of the mapbender folder I can find following
        lines:<br>
        ...<br>
        <small><font face="Courier New, Courier, monospace"><small>2012.12.18,


              15:06:32,Notice: class_connector: load url: <a
                moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities">http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities</a><br>
              2012.12.18, 15:06:32,Notice: connector: curl without auth<br>
              2012.12.18, 15:06:32,Notice: class_connector.php:
              NOT_PROXY_HOSTS:<ip>,<ip>,<ip><br>
              2012.12.18, 15:06:32,Notice: class_connector.php:
              http_proxy is not set as env variable!<br>
              2012.12.18, 15:06:32,Notice: class_connector.php: Proxy
              will not be used!<br>
              2012.12.18, 15:06:32,Notice: class_connector.php: CURL
              connect to: <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities">http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities</a><br>
              2012.12.18, 15:06:52,Notice: class_connector.php: CURL
              give back:<br>
              2012.12.18, 15:06:52,ERROR: connector: unable to load: <a
                moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities">http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities</a></small><br>
          </font></small><br>
        The same error also occurs with other services so I think the
        problem is my connector or mapbender setup. Already configured
        Services are working and I'm able to upload and update existing
        capabilities without any trouble.<br>
        <br>
        Can anyone give me a hint how to solve my problem or what to
        look for?<br>
        <br>
        I appreciate your help, thx in advance,<br>
        Matthias<br>
        <pre class="moz-signature" cols="72">-- 
Matthias Uhler, M.Sc.

i3mainz - Institut für Raumbezogene Informations- und Messtechnik
Fachhochschule Mainz, Lucy-Hillebrand-Strasse 2, D-55128 Mainz

Tel: +49 6131 628 1481
Fax: +49 6131 628 91481
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:matthias.uhler@geoinform.fh-mainz.de">matthias.uhler@geoinform.fh-mainz.de</a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.i3mainz.fh-mainz.de">www.i3mainz.fh-mainz.de</a></pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Mapbender_users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Zentrale Stelle Geodateninfrastruktur
Rheinland-Pfalz
LVermGeo-RP

Ferdinand-Sauerbruch-Straße 15
56073 Koblenz

0261/492-466
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:armin.retterath@lvermgeo.rlp.de">armin.retterath@lvermgeo.rlp.de</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.geoportal.rlp.de">http://www.geoportal.rlp.de</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mapbender_users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Matthias Uhler, M.Sc.

i3mainz - Institut für Raumbezogene Informations- und Messtechnik
Fachhochschule Mainz, Lucy-Hillebrand-Strasse 2, D-55128 Mainz

Tel: +49 6131 628 1481
Fax: +49 6131 628 91481
<a class="moz-txt-link-abbreviated" href="mailto:matthias.uhler@geoinform.fh-mainz.de">matthias.uhler@geoinform.fh-mainz.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.i3mainz.fh-mainz.de">www.i3mainz.fh-mainz.de</a></pre>
  </body>
</html>