Re: [mapserver-users] WMS don't load

2008-10-21 Thread Jeff McKenna
[EMAIL PROTECTED] wrote: I uninstalled the apache service, rename ms4w to ms4w_old and unzipped an older version of ms4w (2.2.6) That's not good that you had to go to an older version. Can you duplicate this problem on a fresh machine, such as your home machine? If you are interested in

Re: [mapserver-users] WMS don't load

2008-10-21 Thread Steve . Toutant
I uninstalled the apache service, rename ms4w to ms4w_old and unzipped an older version of ms4w (2.2.6) Everything is working well now. Unfortunatly I think I'll never know what was the problem. Thank you for your help, it wasn't an easy task to give support on this track. Steve Steve Toutan

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Jeff McKenna
[EMAIL PROTECTED] wrote: and I'm running out of faith... :-) Yep I still get the curl error code 6. I asked my system admin to grant full access to everyone...same result. Have you tested this on your own machine at home? If you have a locked-down IIS machine trying to run MS4W I agree w

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Brent Fraser
Steve, That's baffling. Two computers with the same version of Mapserver and the same mapfile allow different data types returned (I have no clue about the pragma:no-cache)? Maybe an Apache config thing? Are the conf files the same? Brent [EMAIL PROTECTED] wrote: Hi, Thanks Brent, I

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Steve . Toutant
Hi, Thanks Brent, I got the image with curl.exe I'm sorry but I have no idea how to test libcurl.dll using a command line. Also, I used httpLook.as suggested As I said the mapFile containing a WMS works on my computer but not on another computer. They both have the same ms4w version (2.3.0) Wit

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Brent Fraser
Oops, I forgot to copy to the list: Steve, Do curl.exe "http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:4326&WIDTH=400&BBOX=-80.9516220735786,44.92,-57.1183779264214,62.78&TRANSPARENT=TRUE&EXCEPTIONS=appl

RE: [mapserver-users] WMS don't load

2008-10-20 Thread Steve . Toutant
OuchI don't know what is this thing but when I execute this curl.exe " http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:4326&WIDTH=400&BBOX=-80.9516220735786,44.92,-57.1183779264214,62.78&TRANSPARENT=TRUE

RE: [mapserver-users] WMS don't load

2008-10-20 Thread Kralidis,Tom [Burlington]
PM To: Brent Fraser Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS don't load Are you familiar with curl? I don't what is it and whait it is supposed to return. I downloaded curl.exe anyway but I need help. What is

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Steve . Toutant
Are you familiar with curl? I don't what is it and whait it is supposed to return. I downloaded curl.exe anyway but I need help. What is the url I should send? I tried curl.exe http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VE

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Steve . Toutant
and I'm running out of faith... :-) Yep I still get the curl error code 6. I asked my system admin to grant full access to everyone...same result. Brent just sent me a hint. I'll try it Thanks for your ideas. Steev Steve Toutant, M. Sc. Analyste en géomatique Secteur environnement Direction de

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Brent Fraser
Steve, Perhaps running a http sniffer (such as HTTPLook) would help track down the problem? Or maybe not. The fact that the URL works interactively using shp2img or a browser but not from a service implies that the problem might be related to the permissions of the account Apache/Mapserver/Cu

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Daniel Morissette
Hi Steve, I'm starting to run out of ideas... do you still get Curl error code 6 in all cases? Perhaps double-check and make sure that the directory specified in your IMAGEPATH parameter exists and is writable by the web user... this directory is used to temporarily store the image received f

Re: [mapserver-users] WMS don't load

2008-10-20 Thread Steve . Toutant
Sounds like a DNS config problem on your server... can you double-check your network settings? There is no proxy, no firewall the DNS seems ok since I can ping and get to http://atlas.gc.ca Did you try opening the URL using I.E. directly on the server that produces the error? YES and the image

Re: [mapserver-users] WMS don't load

2008-10-16 Thread Daniel Morissette
[EMAIL PROTECTED] wrote: Here is the log [...] [Wed Oct 08 09:00:10 2008].667000 HTTP: request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=6

Re: [mapserver-users] WMS don't load

2008-10-08 Thread Steve . Toutant
Hello, I replace the old apache and mapserver (the one who work) by the current version of ms4w. Both servers now have apache 2.2.9 and mapserver 5.2.0. And both servers are not behind a proxy. The behavior with a wms is still the same though. I get a blank image on one of the server. I search

Re: [mapserver-users] WMS don't load

2008-10-08 Thread Rahkonen Jukka
: [EMAIL PROTECTED] puolesta: [EMAIL PROTECTED] Lähetetty: ke 8.10.2008 16:20 Vastaanottaja: Daniel Morissette Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] WMS don't load Thanks Daniel, Here is the definition of the layer in my mapFile LAYER NAME pe

Re: [mapserver-users] WMS don't load

2008-10-08 Thread Steve . Toutant
Thanks Daniel, Here is the definition of the layer in my mapFile LAYER NAME pe TYPE RASTER OFFSITE 0 0 0 STATUS default CONNECTIONTYPE WMS CONNECTION "http://atlas.gc.ca/cgi-bin/atlaswms_fr?"; DEBUG 5 METADATA "wms_srs" "EPSG:42304" "

Re: [mapserver-users] WMS don't load

2008-10-07 Thread Daniel Morissette
Did you find a solution to your problem? If not then perhaps try looking at the debug output... i.e. set 'DEBUG 5' in your WMS client layer definition and set 'CONFIG MS_ERRORFILE "C:\ms4w\mapserver.log"' at the top-level in your mapfile, and then look at the mapserver.log output you get from

Re: [mapserver-users] WMS don't load

2008-10-02 Thread Jeff McKenna
[EMAIL PROTECTED] wrote: Here is an update... shp2img is now working on both servers. shp2img could not find EPSG file. setEnv PROJ_LIB was in httpd.conf of apache but was not in my OS environment variable. After defining PROJ_LIB on the OS ishp2img is working and create an image. So I guess

Re: [mapserver-users] WMS don't load

2008-10-01 Thread Steve . Toutant
Here is an update... shp2img is now working on both servers. shp2img could not find EPSG file. setEnv PROJ_LIB was in httpd.conf of apache but was not in my OS environment variable. After defining PROJ_LIB on the OS ishp2img is working and create an image. So I guess shp2img doesn't use apache..

Re: [mapserver-users] WMS don't load

2008-10-01 Thread Rahkonen Jukka
@lists.osgeo.org Aihe: Re: [mapserver-users] WMS don't load I agree this connection was not a good example. Before creating the mapfile I used it to get a map on Internet Explorer to verify if I had a network problem. Since it was working I put it in the mapfile I created the following ma

RE: [mapserver-users] WMS don't load

2008-10-01 Thread Kralidis,Tom [Burlington]
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 01 October, 2008 9:12 AM To: Rahkonen Jukka Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS don't load I agree this connection was

Re: [mapserver-users] WMS don't load

2008-10-01 Thread Steve . Toutant
I agree this connection was not a good example. Before creating the mapfile I used it to get a map on Internet Explorer to verify if I had a network problem. Since it was working I put it in the mapfile I created the following mapFile based on this example http://mapserver.gis.umn.edu/docs/howto

Re: [mapserver-users] WMS don't load

2008-10-01 Thread Jeff McKenna
konen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: [EMAIL PROTECTED] Lähetetty: ti 30.9.2008 19:57 Vastaanottaja: Steve Lime Kopio: mapserver-users@lists.osgeo.org; [EMAIL PROTECTED] Aihe: Re: [mapserver-users] WMS don't load Version 5.0.0 on the server that works wel

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Rahkonen Jukka
nection. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: [EMAIL PROTECTED] Lähetetty: ti 30.9.2008 19:57 Vastaanottaja: Steve Lime Kopio: mapserver-users@lists.osgeo.org; [EMAIL PROTECTED] Aihe: Re: [mapserver-users] WMS don't load Version 5.0.0 on the server

Fwd: Re: [mapserver-users] WMS don't load

2008-09-30 Thread Steve Lime
Perhaps some windows/ms4w users will have an idea... Steve >>> On 9/30/2008 at 2:04 PM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > Are you getting an exception from the WMS? > No, I only get a blank page. I didn't find any log with information. > > How about running shp2img on

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Steve . Toutant
For both servers I used MS4W to install mapserver mapserv -v returns almost the same thing The difference is the version, and these: SUPPORTS=ICO NV SUPPORTS=FRIBIDI SUPPORTS=RGBA_PNG MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=S VG SUPPORTS

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Steve Lime
If you do a mapserv -v is the output identical on each box? >>> On 9/30/2008 at 11:57 AM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > Version 5.0.0 on the server that works well > Version 5.2.0 on the server where WMS don't load > > > Also, If I call the WMS directly from intern

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Steve . Toutant
Version 5.0.0 on the server that works well Version 5.2.0 on the server where WMS don't load Also, If I call the WMS directly from internet explorer with http://atlas.gc.ca/cgi-bin/atlaswms_fr?VERSION=1.1.1&request=GetMap&SRS=EPSG:42304&BBOX=-2750564.75,-936638.5,3583872.5,4673125&WIDTH=400&HEIGH

Re: [mapserver-users] WMS don't load

2008-09-30 Thread Steve Lime
MapServer version? >>> On 9/30/2008 at 10:36 AM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > Hello, > I have 2 mapServers on different computer (windows). > I defined a mapFile containing several layers and one WMS layer. > The same copy of this mapFile is used on both server. On

[mapserver-users] WMS don't load

2008-09-30 Thread Steve . Toutant
Hello, I have 2 mapServers on different computer (windows). I defined a mapFile containing several layers and one WMS layer. The same copy of this mapFile is used on both server. On one server all layers are shown on the static map. On the other server all layers show up except the WMS layer. On