[Mapserver-users] Cascading mapserver
Tyler Mitchell
TMitchell at lignum.com
Tue Jan 20 09:01:05 PST 2004
Mathieu,
Are these:
LOG "path\to\htdocs\wmscascade\cascade.log"
IMAGEPATH "path/to/htdocs/wmscascade/Images/"
IMAGEURL "wmscascade/Images"
Real paths on your machine? They look like examples to me.
Mine, on linux are set to:
LOG /srv/www/htdocs/tmp/mapserver.log
IMAGEPATH /srv/www/htdocs/tmp
IMAGEURL /tmp
This may be a problem for you?
mapserver-users-admin at lists.gis.umn.edu wrote on 01/20/2004 07:39:41 AM:
> Hi everybody,
>
> I've been trying to setup a cascading mapserver using the itasca
> demo files but I can't get the cascading server to work ok.
>
> If I connect directly to the originating WMS server, everything
> comes up ok (both GetCapabilities and GetMap).
>
> If I connect through the cascading WMS server, I can get the
> Capabilities XML, but all GetMap requests come up with a 500 error.
> In the Apache log I can see the following errors:
>
> [Tue Jan 20 10:17:57 2004] [error] [client 127.0.0.1] Premature end
> of script headers: mapserv.exe
> [Tue Jan 20 10:17:57 2004] [error] [client 127.0.0.1] ERROR 4:
> `path/to/wmscascade/Images/107461187731640.img.tmp' not recognised
> as a supported file format.
>
> Here is my mapfile for the cascading server:
>
> NAME MAP_CASCADE
> STATUS ON
> SIZE 600 600
> EXTENT 388107.634400379 5203120.88405952 500896.339019834
5310243.30613897
> UNITS METERS
> FONTSET "Fonts/fonts.list"
> IMAGECOLOR 255 255 255
>
>
> WEB
> LOG "path\to\htdocs\wmscascade\cascade.log"
> IMAGEPATH "path/to/htdocs/wmscascade/Images/"
> IMAGEURL "wmscascade/Images"
> MINSCALE 1000
> MAXSCALE 1550000
>
> METADATA
> WMS_TITLE "Test de serveur wms en cascade"
> WMS_ABSTRACT "Contient essentiellement le demo de mapserver"
> WMS_ACCESSCONSTRAINTS none
>
> WMS_ONLINERESOURCE "http://www.cidco.ca"
>
> WMS_SRS "EPSG:26915"
> END
> END
>
> DEBUG TRUE
>
> LAYER
> NAME LIMITE_COMTES
> TYPE RASTER
> STATUS DEFAULT
> CONNECTIONTYPE WMS
> CONNECTION "http://originating.server/cgi-bin/mapserv.exe?
> map=path\to\htdocs\mapserver_demos\demo.map&FORMAT=image/jpeg&"
>
> METADATA
> #Metadata pour acceder au serveur remote
> wms_srs "EPSG:26915"
> wms_name "ctybdpy2"
> wms_server_version "1.1.0"
> wms_format "image/jpeg"
>
> #Metadata de la couche (pour publication
> wms_title "Limite des comtes"
> wms_abstract "Couche des limites des comtes"
> END
>
> DEBUG ON
>
> END
>
>
> END
>
> And finally, the request URL:
>
> http://127.0.0.1/cgi-bin/mapserv.exe?
> map=path\to\htdocs\wmscascade\cascade.map&VERSION=1.1.0&REQUEST=GetMap
>
> Other detail that might be interesting: I get nothing in the
> mapserver log file that I specified (/wmscascade/cascade.log).
>
> Does anybody have any clue?
>
> Thanks in advance,
>
> Mathieu
> --
> ----------------------------------------
> Mathieu Levesque,
> Programmeur-Analyste,
> Centre Interdisciplinaire de Développement
> en Cartographie des Océans (CIDCO),
> 310, Allée des Ursulines,
> Rimouski, QC,
> G5L 3A1
> Tél: (418) 723-1986, ext. 1792
> Fax: (418) 724-1842
> Courriel: mathieu.levesque at cidco.ca
> _______________________________________________ Mapserver-users
> mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.
> edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list