Hi folks, My situation: We've developed a GIS web viewer based on OpenLayers, with some particular configurations, and is located in a server, let's called "Server A", and we also have some other web applications that include this viewer to show some information and they're located in "Server B". The thing is that to avoid the cross-domain problem we've created an ASP script located in "Server B" that calls mapserver to receive the getfeatureinfo request, but when I try it in my web browser I get the following message:
mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided. MapFile: MAP NAME "WMSSERVER" STATUS ON EXTENT 460000 4690000 610000 4820000 # Euskadi SHAPEPATH "shapes_estaticos/" FONTSET "misc/fonts/fonts.txt" UNITS METERS DEBUG ON CONFIG "MS_ERRORFILE" "C:/ms4w/Apache/htdocs/MFD/tmp/ms_wms.log" DEBUG 5 OUTPUTFORMAT NAME gif DRIVER "GD/GIF" MIMETYPE "image/gif" IMAGEMODE PC256 EXTENSION "gif" END WEB IMAGEPATH "C:/ms4w/Apache/htdocs/MFD/tmp/" IMAGEURL "tmp/" METADATA "wms_name" "IKT WMS Server" "wms_server_version" "1.1.1" "wms_title" "Servidor WMS IKT" "wms_onlineresource" "http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wms.map&" "wms_srs" "EPSG:23030 EPSG:4326" "wms_transparent" "true" "wms_abstract" "Servicio de mapas WMS de IKT Nekazal Teknologia. Powered by Apache and UMN MapServer" "wms_keywordlist" "IKT,Euskadi,Mapas Euskadi" "wms_feature_info_mime_type" "application/vnd.ogc.gml" "labelcache_map_edge_buffer" "-10" END END PROJECTION "init=epsg:23030" END LAYER STATUS ON CONNECTIONTYPE oraclespatial CONNECTION "admcarto/admca...@ora10gex" NAME "RecintosSigpac" PROJECTION "init=epsg:23030" END DUMP TRUE TYPE POLYGON METADATA "wms_title" "Recintos Sigpac 2009" "wms_srs" "EPSG:23030" "wms_name" "RecintosSigpac" "wms_server_version" "1.1.1" "wms_format" "image/gif" "wms_transparent" "true" END MAXSCALE 25000 DATA "GEOMETRY FROM (SELECT * FROM GT_SIGPAC_REC_2010_ED50) USING UNIQUE gid SRID 82337" #todo el sigpac CLASS NAME "Recintos" STYLE OUTLINECOLOR 0 234 0 END TEMPLATE "ms_template.html" END END END I've got "ms_template.html" created with the magic string. What I'm doing wrong?? Thanks. Un saludo, ·················································································· David Alda Fernández de Lezea Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad IKT Granja Modelo s/n · 01192 · Arkaute (Araba) ·················································································· Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 ·················································································· email: da...@ikt.es web: www.ikt.es ·················································································· _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users