Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Cannot populate a Ext GridPanel through GeoExt WMSCapabilitiesStore

I'm using Mapserver + GeoExt, but i can't not recive any data from this request, any one know how to use that?

var grid = new Ext.grid.GridPanel({
                    title: "Availables WMS Layers",
                    renderTo: document.body, 
                    width: 800,
                    height: 150,
                    viewConfig: {forceFit: true},
                    store: new{
                        url: "http://localhost:8085/fcgi-bin/wms.exe?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.1.1",
                        autoLoad: true
                    columns: [
                        {header: "Name", dataIndex: "name", sortable: true}
share|improve this question

Assuming your http://localhost:8085/fcgi-bin/wms.exe?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.1.1 link is working, then this is likely to be a cross-domain issue:

See answer at Cannot populate a Ext GridPanel through GeoExt WMSCapabilitiesStore

share|improve this answer
This is a diferent question, because i'm using MapSever, in this example the answer is about GeoServer. – Michel Andrade Jul 3 '11 at 14:04
It's the same problem. You can't load data from a different URL or port number in a browser. You need a proxy, or run on the same port. – geographika Jul 3 '11 at 14:55
OK! In my example using this address: localhost:8085/fcgi-bin/wms.exe How can i define this proxy? Some thing like that? I do not have a file named "proxy.cgi". OpenLayers.ProxyHost = "/fcgi-bin/proxy.cgi?url="; – Michel Andrade Jul 3 '11 at 15:00
I take a look at proxy.cgi configuration, but i'm work with Windows and Apache, so in this way, i'll need to configure and install python!? – Michel Andrade Jul 3 '11 at 15:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.