Users Archive

List Statistics

  • Total Threads: 1594
  • Total Posts: 2743
  #1  
20-05-2010 03:34 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #2  
20-05-2010 06:48 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #3  
20-05-2010 07:05 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #4  
26-05-2010 01:51 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #5  
26-05-2010 02:40 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #6  
26-05-2010 02:41 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #7  
26-05-2010 02:49 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #8  
26-05-2010 02:58 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #9  
26-05-2010 03:05 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #10  
26-05-2010 03:05 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #11  
26-05-2010 03:35 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #12  
26-05-2010 03:48 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #13  
26-05-2010 04:02 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #14  
06-08-2010 11:42 AM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Hi,

I think you can find some examples for pan, zoom and measure at OpenLayers
example page.

For changing map layers while zooming you could possible use maxResolution for
your layer (or SLD).

best regards
Sarah



________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #15  
06-08-2010 01:55 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Hi,

I think you can find some examples for pan, zoom and measure at OpenLayers
example page.

For changing map layers while zooming you could possible use maxResolution for
your layer (or SLD).

best regards
Sarah



________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Petrus,

Your existing OL code should work with GeoExt...

-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380461.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #16  
06-08-2010 02:03 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Hi,

I think you can find some examples for pan, zoom and measure at OpenLayers
example page.

For changing map layers while zooming you could possible use maxResolution for
your layer (or SLD).

best regards
Sarah



________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Petrus,

Your existing OL code should work with GeoExt...

-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380461.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. On Aug 6, 2010, at 8:55 AM, ext BMcBride wrote:

>
> Petrus,
>
> Your existing OL code should work with GeoExt...

Based on his questions, and the lack of such an example for OpenLayers,
I expect that he doesn't have any existing code to use.

-- Chris
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #17  
06-08-2010 02:26 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Hi,

I think you can find some examples for pan, zoom and measure at OpenLayers
example page.

For changing map layers while zooming you could possible use maxResolution for
your layer (or SLD).

best regards
Sarah



________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Petrus,

Your existing OL code should work with GeoExt...

-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380461.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. On Aug 6, 2010, at 8:55 AM, ext BMcBride wrote:

>
> Petrus,
>
> Your existing OL code should work with GeoExt...

Based on his questions, and the lack of such an example for OpenLayers,
I expect that he doesn't have any existing code to use.

-- Chris
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I guess I was taking this literally...

petrus451 wrote:
>
> I have some OpenLayers code that changes map layers as one zooms in and
> out.
>
So the question becomes what map layer changes are required on zoom? Do you
want to set layer visibility? You could set a zoomend map event like this:


map.events.register('zoomend', this, function() {
if (map.getZoom() >=10)
{
mylayer.setVisibility(false);
}
if (map.getZoom() < 10)
{
mylayer.setVisibility(true);
}
});


-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380546.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.

  #18  
06-08-2010 02:28 PM
Users member admin is online now
User
 

Keywords: Openlayers, GeoExt, GeoServer, Browsers

Hi at all!

First of all..yep I know about similar problems in other threads and forums
but I dont find a solution for this problem.
I try to make a GeoExt.Popup with informations from WMSGetFeatureInfo in my
mapping-application. Here is the code for this popup:


// GeoExt Popup II
var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo();
featureInfo.events.on({
getfeatureinfo: function(e) {
new GeoExt.Popup({
title: 'Feature Info',
width: 200,
height: 150,
autoScroll: true,
map: map,
lonlat: map.getLonLatFromPixel(e.xy),
html: e.text
}).show();
setInfoToDiv(e.text);
}
});
map.addControl(featureInfo);
featureInfo.activate();

// Method for testing Output in a DIV
function setInfoToDiv(text)
{
document.getElementById("abfrage").innerHTML=text;
}


For IE8 is everything fine. I get the FeatureInfo in the GeoExt.Popup and
the testing output in the DIV "abfrage". If I test it in Firefox3.5, I dont
get any output. Either the text in the GeoExt.Popup or the text in the DIV.
But I do get the Popup-Window (without any text). If I copy the Request
given me by Firebug in a new tab, I get the Response correctly.

What do I wrong? Any suggestions would help me.

THX
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5079946.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. My first thought was that you needed to specify 'layers' and 'layerstoquery'
parameters. Maybe IE8 somehow manages to set the top/current layer.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. To me this sounds more like a same origin issue. Internet Explorer treats the same domain with a different port as same origin:

http://localhost/
http://localhost:8080/

Other browsers don't.

Some reading for the OP on this:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://geoserver.org/display/GEOSDOC/How+to+proxy+Jetty+through+Apache+on+port+80

Regards,
Andreas.


On May 20, 2010, at 19:48 , cdobell wrote:

>
> My first thought was that you needed to specify 'layers' and 'layerstoquery'
> parameters. Maybe IE8 somehow manages to set the top/current layer.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5080824.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Thanks for the answers!

GeoServer. The params are optional.

@Andreas: I've tried the second link and after I paste the code for the
VitualHost-section, the Apache won't start again. The errormessage is "The
requested operation has failed!". If I comment the VirtualHost-section,
apache starts again. After that, I wanted to try the second link. I noticed
that there is no path like /usr/lib/cgi-bin/ in my Apache-installation. So
do you have some further informations for me?

Here is the VitualHost-section in my httpd.conf


ProxyRequest Off
# Remember to turn the next line off if you are proxying to a
NameVirtualHost
ProxyPreserveHost On

Order deny,allow
Allow from all

ProxyPass /geoserver http://localhost:8090/geoserver
ProxyPassReverse /geoserver http://localhost:8090/geoserver



Greets
Martin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103295.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. You mean these two modules?


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


I have these modules and took the comments in the httpd.conf away.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Yes, exactly these two. You need to have them installed, not just uncommented.

Regards,
Andreas.

On May 26, 2010, at 15:41 , Martin.L wrote:

>
> You mean these two modules?
>
>
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
>
>
> I have these modules and took the comments in the httpd.conf away.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103534.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I do have these modules installed.

http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. The snippet in the link I had sent you means to paste the proxy code (everything between the # ... lines) into your existing VirtualHost section, not to create a new VirtualHost section.

Please refer to the Apache documentation for more help.

Regards,
Andreas.

On May 26, 2010, at 15:58 , Martin.L wrote:

>
> I do have these modules installed.
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5103642/apache_modules.png
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103642.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Ok my fault. Look again at the VirtualHosts-section. There is a spelling
error.

ProxyRequest Off is wrong. Changed it to ProxyRequests Off and now the
Apache runs. Thanks again and sorry about my mistake.
My problem is still exist. The Popup is empty and the request on new tab
returns a result.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103688.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. No I didn't change the WMS-URL. But after you told me that, I changed ist.
And now...IT WORKS!!

Thank you very very much.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103843.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
of GeoServer or OpenLayers?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. It's a security feature of web browsers, called the Same Origin Policy.

Regards,
Andreas.

On May 26, 2010, at 16:48 , Martin.L wrote:

>
> One question, yet. Why do I have to use a Proxy for the Popups? Is this a bug
> of GeoServer or OpenLayers?
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-IE8-vs-other-Browsers-tp5079946p5103927.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Hi,

I think you can find some examples for pan, zoom and measure at OpenLayers
example page.

For changing map layers while zooming you could possible use maxResolution for
your layer (or SLD).

best regards
Sarah



________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. Petrus,

Your existing OL code should work with GeoExt...

-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380461.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. On Aug 6, 2010, at 8:55 AM, ext BMcBride wrote:

>
> Petrus,
>
> Your existing OL code should work with GeoExt...

Based on his questions, and the lack of such an example for OpenLayers,
I expect that he doesn't have any existing code to use.

-- Chris
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. I guess I was taking this literally...

petrus451 wrote:
>
> I have some OpenLayers code that changes map layers as one zooms in and
> out.
>
So the question becomes what map layer changes are required on zoom? Do you
want to set layer visibility? You could set a zoomend map event like this:


map.events.register('zoomend', this, function() {
if (map.getZoom() >=10)
{
mylayer.setVisibility(false);
}
if (map.getZoom() < 10)
{
mylayer.setVisibility(true);
}
});


-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380546.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe. On Aug 6, 2010, at 9:26 AM, ext BMcBride wrote:

>
> I guess I was taking this literally...

Oh, this could just be an instance of "I can't read" :) Alternatively, it
may be an OpenLayers-specific hack (like, hacking the panzoombar or something).
But more likely I just can't read :)

-- Chris

> petrus451 wrote:
>>
>> I have some OpenLayers code that changes map layers as one zooms in and
>> out.
>>
> So the question becomes what map layer changes are required on zoom? Do you
> want to set layer visibility? You could set a zoomend map event like this:
>
>
> map.events.register('zoomend', this, function() {
> if (map.getZoom() >=10)
> {
> mylayer.setVisibility(false);
> }
> if (map.getZoom() < 10)
> {
> mylayer.setVisibility(true);
> }
> });
>
>
> -----
> Bryan R. McBride, GISP
> http://www.bryanmcbride.com bryanmcbride.com
> http://geoserving.net/ geoserving.net
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoExt-OpenLayers-tp5380045p5380546.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
___________________________________________________

Posted on the Users mailing list. Go to http://openlayers.org/mailman/listinfo/users to subscribe.





NewsArc Lists  |  Culture Pages   |  Computing Archive  |  Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site: