[Mapserver-users] Mapserver WMS client and proxy server

Ed McNierney ed at topozone.com
Wed Jul 2 10:56:22 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C340AA.19EF3B34
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Stefan -
=20
That's a little puzzling.  How does the firewall know that a CGI is =
making the request?  It's just a regular HTTP GET request.
=20
You should be able to construct a simple WMS request to that server by =
simply typing the request in the address bar of your browser.  Test to =
see whether that request works in a regular browser session *running on =
the WMS client server in the same security/user context as MapServer*.  =
Perhaps that server can't make HTTP requests at all (which makes sense). =
 But if a browser running on that machine can make the WMS request, the =
CGI should be able to, too.
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Stefan Wiegand [mailto:s.wiegand at kdvz.de]
Sent: Wednesday, July 02, 2003 5:23 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Mapserver WMS client and proxy server



Hello all,=20

I am having problems with using the WMS-client support in MapServer 3.6 =
(CGI). I try to connect to an external WMS Server via layerdefinition. =
The request to the server simply does nothing until it times out. We are =
using a proxy and firewall between the mapserver and the Internet and =
this is the problem (sys-admin told me). It is not allowed to connect =
directly between cgi-exe and a server outside. Any ideas or solution how =
to handle this problem?=20

Thanks=20
Stefan Wiegand=20
Mail: s.wiegand at kdvz.de
www.kdvz.de=20



------_=_NextPart_001_01C340AA.19EF3B34
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Stefan=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =
size=3D2>That's=20
a little puzzling.&nbsp; How does the firewall know that a CGI is making =
the=20
request?&nbsp; It's just a regular HTTP GET request.</FONT></SPAN></DIV>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
should be able to construct a simple WMS request to that server by =
simply typing=20
the request in the address bar of your browser.&nbsp; Test to see =
whether that=20
request works in a regular browser session *running on the WMS client =
server in=20
the same security/user context as MapServer*.&nbsp; Perhaps that server =
can't=20
make HTTP requests at all (which makes sense).&nbsp; But if a browser =
running on=20
that machine can make the WMS request, the CGI should be able to,=20
too.</FONT></SPAN></DIV>
<DIV><SPAN class=3D470255314-02072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D470255314-02072003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D470255314-02072003>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Stefan Wiegand=20
  [mailto:s.wiegand at kdvz.de]<BR><B>Sent:</B> Wednesday, July 02, 2003 =
5:23=20
  AM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] Mapserver WMS client and proxy=20
  server<BR><BR></FONT></DIV><BR><FONT face=3Dsans-serif size=3D2>Hello =
all,</FONT>=20
  <BR><BR><FONT face=3Dsans-serif size=3D2>I am having problems with =
using the=20
  WMS-client support in MapServer 3.6 (CGI). I try to connect to an =
external WMS=20
  Server via layerdefinition. The request to the server simply does =
nothing=20
  until it times out. We are using a proxy and firewall between the =
mapserver=20
  and the Internet and this is the problem (sys-admin told me). It is =
not=20
  allowed to connect directly between cgi-exe and a server outside. Any =
ideas or=20
  solution how to handle this problem?</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
  size=3D2>Thanks</FONT> <BR><FONT face=3Dsans-serif size=3D2>Stefan =
Wiegand=20
  </FONT><BR><FONT face=3Dsans-serif size=3D2>Mail:=20
  s.wiegand at kdvz.de<BR>www.kdvz.de</FONT> =
<BR></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C340AA.19EF3B34--



More information about the mapserver-users mailing list