[Gfoss] wms mapserver e openlayer

Francesco Geri francescogeri a yahoo.it
Ven 5 Nov 2010 16:10:42 CET


Mi risponde questo, nonostante che la richiesta parta in formato text/plain

<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY  BGCOLOR="#FFFFFF">
mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided.
</BODY></HTML>


new OpenLayers.Control.WMSGetFeatureInfo({
         url: 
'http://localhost/cgi-bin/mapserv?map=/var/www/pmapper-4.0/config/florawms/pmapper_florawms.map&',
         title: 'Identify features by clicking',
                 layers: 'bioitaly_v',
         queryVisible: 'true',
*infoFormat:'text/plain'*


Il 05/11/2010 15:15, Diego Guidi ha scritto:
>> Forse non ho settato bene il proxy?
>>      
> in teoria dovresti vedere con firebug la richiesta che lancia il tuo
> browser verso il server.
> copia l'url e lancialo nel browser "as is", li non hai problemi di
> proxy e/o altro e così puoi capire se è il server che non riceve, se
> il server riceve ma non risponde, se il client non capisce la risposta
> ecc ecc.
> come regola generale, non mettere titti i pezzi insieme sperando che
> funzioni tutto, ma fai un pezzettino per volta.
>
>    
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20101105/f74711a9/attachment.htm>


Maggiori informazioni sulla lista Gfoss