Simone, Let me see if I got this right..
I have my current URL with a registered domain http://mydomain.com/geoserver/ows and my current proxy is just the same URL http://mydomain.com/geoserver We mostly use GeoServer in customized Web Apps and consuming the data with QGIS as well. If I change the proxy URL to http://newdomain.com/whatever : 1- Would the old URL's (http://mydomain.com/geoserver/ows) referenced in many web apps still work? Yes? 2- Would I be able to connect to the old and new URL's with QGIS? Yes? It's just one customer's request but it affects everybody and everything and I don't want to make a wrong move. On the other hand I still have to check the Apache/Tomcat configuration as in many articles I've seen that people tend to solve this by using VirtualHosts. Thanks for your help. Regards, Agur bero bat, David Alda Fernández de Lezea Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa. [email protected] | www.hazi.eus T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba ********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe. Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo. This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it. -----Mensaje original----- De: Ben Caradoc-Davies [mailto:[email protected]] Enviado el: viernes, 15 de enero de 2016 21:14 Para: David Alda Fernandez de Lezea; GeoServer Users Asunto: Re: [Geoserver-users] Geoserver virtual host David, changing the proxy URL changes URLs generated by GeoServer, so may not be appropriate when you have multiple tenants in a single GeoServer. Not changing the proxy URL will cause client applications that discover resources via (for example) GetCapabilities and WFS DescribeFeatureType to see these resources as being on a different host. This may cause problems with JavaScript cross-origin rules, depending on use-cases and the behaviour of a client application. For example, the schemaLocation URL in a WFS response will likely have the same host and context path for all tenants, regardless of DNS. All server URLs in GetCapabilities response will likewise have the same host and context path. WMS clients that are configured with a WMS service URL and make only GetMap and GetFeatureInfo requests (not driven by the Capabilities document) should work perfectly without setting the proxy base URL. Even better, put each tenant in their own workspace, with their own VirtualHost, then even GetCapabilities should work as expected with a VirtualHost for some WMS use-cases (not layer groups that span workspaces?). See: http://docs.geoserver.org/latest/en/user/services/virtual-services.html Kind regards, Ben. On 15/01/16 20:26, David Alda Fernandez de Lezea wrote: > Changing the GeoServer's proxy would affect to everything inside it, wouldn't > it? -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
