Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-30 Thread Gubler, Ruediger
Hello,

I changed the startup.bat to the following:

:run

  set PROXY_OPTS=-Dhttp.proxyHost=myproxy.mycompany.lan -Dhttp.proxyPort=8080

  if "%JAVA_OPTS%" == "" (set JAVA_OPTS=-XX:MaxPermSize=128m)
  set RUN_JAVA=%JAVA_HOME%\bin\java
  cd %GEOSERVER_HOME%
  echo Please wait while loading GeoServer...
  echo.
  "%RUN_JAVA%" "%JAVA_OPTS%" "%PROXY_OPTS%"  
-DGEOSERVER_DATA_DIR="%GEOSERVER_DATA_DIR%" -Djava.awt.headless=true 
-DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar
  cd bin
goto end

But I still get "connection refused" messages.


Yours Rüdiger




Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 30. Juli 2013 12:25
An: Ian Turton
Cc: Gubler, Ruediger; geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

On Tue, Jul 30, 2013 at 12:12 PM, Ian Turton 
mailto:ijtur...@gmail.com>> wrote:
Start up your server with -Dhttp.proxyHost= and 
-Dhttp.proxyPort= and it should all work fine.

Two different types of proxies, two different configurations.
Ian is giving you the solution for a forward proxy that GeoServer might needs 
to access the internet itself.
Christian is giving you directions for a reverse proxy that you might be using 
to expose GeoServer to the internet,
giving it a different hostname and path

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-30 Thread Andrea Aime
On Tue, Jul 30, 2013 at 12:12 PM, Ian Turton  wrote:

> Start up your server with -Dhttp.proxyHost= and
> -Dhttp.proxyPort= and it should all work fine.
>

Two different types of proxies, two different configurations.
Ian is giving you the solution for a forward proxy that GeoServer might
needs to access the internet itself.
Christian is giving you directions for a reverse proxy that you might be
using to expose GeoServer to the internet,
giving it a different hostname and path

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-30 Thread Ian Turton
Start up your server with -Dhttp.proxyHost= and
-Dhttp.proxyPort= and it should all work fine.

Ian


On 30 July 2013 10:42, Gubler, Ruediger  wrote:

> Hello,
>
> I used the following URL as the getCapabilities URL:
>
>
> http://geodaten.bayern.de/ogc/ogc_dop200_oa.cgi?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities
>
> The http-proxy is configured as:
>
> http://:
>
> But I get "connection refused" messaged while creating a WMS data source.
>
> Opening the WMS URL with firefox and IE works through the proxy.
>
>
> Any ideas?
>
>
> Yours Rüdiger
>
>
>
> -Ursprüngliche Nachricht-
> Von: cmaul [mailto:christian.m...@dse.vic.gov.au]
> Gesendet: Dienstag, 30. Juli 2013 01:54
> An: geoserver-users@lists.sourceforge.net
> Betreff: Re: [Geoserver-users] GeoServer behind a HTTP-Proxy
>
> Hello Rüdiger,
>
> very easy: Admin login ---> Global --> 4th input field is: 'Proxy Base
> URL'.
> Enter your proxy sever and you're done.
>
> It  kills your 'Layer Preview' though as the proxy doesn't know about
> Openlayers.
>
>
> Cheers
>
> Christian
>
>
>
> -
> 
>
> Dr Christian Maul
> Project Manager
>
> Information Services Branch
> Department of Sustainability and Environment Level13, Marland House, 570
> Bourke Street Melbourne 3000
>
> PO Box 500, East Melbourne Vic 3002
>
>
> Telephone:+61-3-8636 2325
> Telefax:  +61-3-8636 2813
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-behind-a-HTTP-Proxy-tp5069332p5069513.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> --
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Ian Turton
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-30 Thread Gubler, Ruediger
Hello,

I used the following URL as the getCapabilities URL: 


http://geodaten.bayern.de/ogc/ogc_dop200_oa.cgi?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities

The http-proxy is configured as:

http://:

But I get "connection refused" messaged while creating a WMS data source. 

Opening the WMS URL with firefox and IE works through the proxy.


Any ideas?


Yours Rüdiger



-Ursprüngliche Nachricht-
Von: cmaul [mailto:christian.m...@dse.vic.gov.au] 
Gesendet: Dienstag, 30. Juli 2013 01:54
An: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

Hello Rüdiger,

very easy: Admin login ---> Global --> 4th input field is: 'Proxy Base URL'.
Enter your proxy sever and you're done.

It  kills your 'Layer Preview' though as the proxy doesn't know about 
Openlayers.


Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment Level13, Marland House, 570 Bourke 
Street Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-behind-a-HTTP-Proxy-tp5069332p5069513.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent caught 
up. So what steps can you take to put your SQL databases under version control? 
Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-29 Thread cmaul
Hello Rüdiger,

very easy: Admin login ---> Global --> 4th input field is: 'Proxy Base URL'.
Enter your proxy sever and you're done.

It  kills your 'Layer Preview' though as the proxy doesn't know about
Openlayers.


Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-behind-a-HTTP-Proxy-tp5069332p5069513.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer behind a HTTP-Proxy

2013-07-29 Thread Gubler, Ruediger
Hello,

we must solve the following connection to a WMS:

[WMS (Internet)]  [HTTP-Proxy]  [GeoServer]  [Clients]

How can we tell GeoServer to use the HTTP-Proxy to connect to the internet WMS 
server?

Yours Rüdiger



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users