[OpenLayers-Users] WFS and OL

Diego Guidi diegoguidi at gmail.com
Tue Oct 15 23:54:40 PDT 2013


of course your wfs works, but OL app needs a proxy. try to check with
firebug if actual "proxy.cgi" calls works...

Diego Guidi


On Wed, Oct 16, 2013 at 8:51 AM, Gis Newbye <gisnewbye at gmail.com> wrote:
> As i told before the problem is not mapserver because if i put in my
> browser:
>
> http://192.168.1.95/cgi-bin/mapserv.exe?MAP=C:/myprojects/mun.map&LAYERS=Municipality&MODE=MAP
>
> i can see my map!
>
> inspecting with firebug:
>
> <html>
>
>     <head> … </head>
>     <body>
>         <img class="decoded"
> src="http://192.168.1.95/cgi-bin/mapserv.exe?MAP=C:/myprojects/mun.map&LAYERS=Municipality&MODE=MAP"
> alt="http://192.168.1.95/cgi-bin/mapserv.exe?MAP=C:/myprojects/mun.map&LAYERS=Municipality&MODE=MAP"></img>
>     </body>
>
> </html>
>
>
>
> 2013/10/16 Diego Guidi <diegoguidi at gmail.com>
>>
>> btw: the proxy works?
>> try to build a sample page that runs inside your mapserver.
>> or even better: download a geoserver package, and the build an html
>> page that works without proxy, publishing it inside data_dir\www, and
>> that uses "states" layers.
>> So you can post here and we can debug easily what's happening.
>>
>> Diego Guidi
>>
>>
>> On Wed, Oct 16, 2013 at 7:46 AM, Gis Newbye <gisnewbye at gmail.com> wrote:
>> > I cannot see in firebug any getfeatureinfo i've only get Mapserve.exe?
>> >
>> > in html of firebug i see:
>> > http://pastebin.com/T3XPtVeT
>> >
>> > in NET of firebug:
>> >
>> > GET mapserve.exe?
>> > as shownd in other emails
>> >
>> > POST mapserve.exe?
>> > http://pastebin.com/StrAN7H1
>> >
>> >
>> >
>> > 2013/10/16 Phil Scadden <p.scadden at gns.cri.nz>
>> >>
>> >> These are the getmap requests that build your map, one first each tile.
>> >> This is normal and not a problem. Have a look at the getfeatureinfo one
>> >> however.
>> >>
>> >>
>> >> Notice: This email and any attachments are confidential.
>> >> If received in error please destroy and immediately notify us.
>> >> Do not copy or disclose the contents.
>> >>
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>


More information about the Users mailing list