Thank you again!! I understood your solution, I'm going to search by the net.
Thank you so much!!!! El lun, 19-01-2009 a las 14:58 -0500, Amos Hayes escribió: > Hi Pablo. > > If you are running tomcat on port 80, then deploying GeoServer as a > WAR file under tomcat should allow you to access it on port 80 as well > and might be the easiest solution for you. See the geoserver docs for > information on deploying as a war file. > > If you need to run tomcat and geoserver separately, or you are running > both on ports that are different than the one serving the HTML page, > and you want to serve a page from one and get (non-image) content from > another, then you'll need to reverse proxy. See the Apache proxy > documentation. > > Either way, the URLs you use for loading vectors in openlayers need to > refer to the same host and port as the host/port combination the page > was loaded from. > > I'm sorry I can't be much more help. You're probably in for a bit of > googling and doc reading to sort out a solution for your environment. > > -- > Amos Hayes > Geomatics and Cartographic Research Centre > Carleton University > [email protected] > +1.613.520.2600x8179 > > On 19-Jan-09, at 12:18 PM, Pablo Díaz wrote: > > > Thanks so much!! > > > > But, how do I do that? > > > > I've tomcat rus on port 80, geoserver runs on port 8080 and I runs > > most > > of GETs with OpenLayers (I draw polygons, I put the result into a > > textarea, I select polygons) but I can't use GetFeatureInfo with > > diferent port. > > > > Thank you again!!. > > > > El lun, 19-01-2009 a las 12:08 -0500, Amos Hayes escribió: > >> It's a browser security feature. You'll need to set up a reverse > >> proxy. If you run Apache on port 80 and use its reverse proxy > >> features, you can put your various services under a port 80 path. > >> > >> -- > >> Amos Hayes > >> Geomatics and Cartographic Research Centre > >> Carleton University > >> [email protected] > >> +1.613.520.2600x8179 > >> > >> On 19-Jan-09, at 11:56 AM, Pablo Díaz wrote: > >> > >>> Hello list, > >>> > >>> Well, excuse my English. > >>> > >>> I've an application with OpenLayers, Tomcat an Geoserver. > >>> When I try to connect my application in tomcat with vector layers in > >>> Geoserver, I've no problem if geoserver runs in port 80 (the same as > >>> tomcat), but when I try to connect when geoserver runs in port > >>> 8080 I > >>> get the next exception by firebug: > >>> > >>> Access to restricted URI denied" code: "1012 > >>> http://localhost/VisorOL/javascript/OpenLayers-2.7/OpenLayers.js > >>> Line 513 > >>> > >>> Seaching, I found that this error means that I broke the "Same- > >>> origin > >>> policy", but I don't know how arrange this problem. > >>> > >>> I need geoserver runs in port 8080 not in port 80. > >>> > >>> Some idea?. > >>> > >>> > >>> _______________________________________________ > >>> Users mailing list > >>> [email protected] > >>> http://openlayers.org/mailman/listinfo/users > >> > > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
