[mapserver-users] displaying bitmaps generated directly via CGI: problems porting app.

Eduin Yesid Carrillo yecarrillo at hotmail.com
Tue May 29 15:58:18 EDT 2001


Try changing slages on map path:
map=C:/something/htdocs/mia/gmap3/htdocs/cat.map

----------------------------
Eduin Yesid Carrillo
Ingeniero Civil
CIUDAD DIGITAL
Central de Información Regional Georefenciada
Bucaramanga - Colombia
yecarrillo at hotmail.com
yecarrillo at condorito.uis.edu.co
#ICQ 14323531


>From: "A. Giacomelli" <andreag at crs4.it>
>To: "mapserver-users at lists.gis.umn.edu" <mapserver-users at lists.gis.umn.edu>
>Subject: [mapserver-users] displaying bitmaps generated directly via CGI: 
>problems porting app.
>Date: Mon, 28 May 2001 15:10:03 +0200
>
>Hi,
>
>I have an application running on an NT box where static images are
>generated directly via calls to the mapserv executable. It works fine.
>
>I have moved the installation to another machine (changing a few
>directories, and -of course- updating any relevant dirs. in my code),
>and the IMG is no longer displayed.
>
>
>in the original app. the image was generated with something like:
>
>/cgi-bin/mapserv?map=..\htdocs\mia\gmap3\htdocs\cat.map&mapext=1432280.22+4480118.85+1452280.22+4500118.85&mapsize=100+100&mode=map
>
>in the new version, for logistic reasons I have moved my apache htdocs
>dir out of the Apache tree, so now it looks like:
>
>/cgi-bin/mapserv?map=C:\something\htdocs\mia\gmap3\htdocs\cat.map&mapext=1432280.22+4480118.85+1452280.22+4500118.85&mapsize=100+100&mode=map
>
>Mapserv CGI reference states that the path specified in the map=
>parameter should be relative to the location of the executable;
>however,  I have noted that absolute paths are also accepted (so my
>*second* example works on the *first* installation.
>
>The only difference I can see is that in my new installation data and
>apache reside currently on two different drives. Do you think I should
>move the data to the same drive as Apache ?
>
>(...can the problem be due to something hard-coded in the Windows binary
>?).
>
>Thanks for any advice
>
>--
>=========================================
>Andrea Giacomelli
>Centre for Advanced Studies, Research and
>Development in Sardinia
>Environment Group
>
>http://www.crs4.it/~andreag
>=========================================



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




More information about the mapserver-users mailing list