Workshop demo problem {Scanned}

Ed McNierney ed at TOPOZONE.COM
Mon Jan 10 09:27:50 EST 2005


No, it's not normal, and it indicates that either the permissions (for the .map file) are NOT OK, or that you're not specifying the path to the .map file.  Normally the mapserv executable will look for "mymapfile.map" in the directory where mapserv itself is stored, since it doesn't know to look anywhere else.  If you want to put the map elsewhere, I recommend you use a full path to it.

        - Ed

Ed McNierney
TopoZone.com

________________________________________
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ante Drnasin
Sent: Monday, January 10, 2005 2:46 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Workshop demo problem {Scanned}


Yes the permissions are OK... 
It's just that the .map file(only .map) has to be in cgi-bin for everything to work...is this normal behaviour? 
Thanx.. 
-----Original Message----- 
From: Siki Zoltan [mailto:siki at agt.bme.hu] 
Sent: Friday, January 07, 2005 5:06 PM 
To: Ante Drnasin 
Cc: MAPSERVER-USERS at LISTS.UMN.EDU 
Subject: Re: [UMN_MAPSERVER-USERS] Workshop demo problem {Scanned} 
Hi, 
Try to run 
mapserv.exe -v 
from the command prompt,  you should get a list of supported input, output 
formats, ... 
If it failes too, you shouls check your mapserver istallation. 
You may use shp2img after if it works then the problem is about web 
server. 
Bye 
Zoltan 
On Fri, 7 Jan 2005, Ante Drnasin wrote: 
> Hi there....we have installed mapserver 4.4.1 on Win2000, apache 1.3.33 and 
> php 4.3.7(as SAPI)... 
> 
> The problem started when we wanted to install the workshop demo.... 
> 
> As suggested we changed the hiden vars in index.html so it looks like this 
> 
> <!-- EDIT THESE HIDDEN VARIABLES --> 
>       <input type="hidden" name="map" 
> value="C:/ServerRoot/workshop/itasca.map"> 
>       <input type="hidden" name="program" value="/cgi-bin/mapserv.exe"> 
>       <input type="hidden" name="root" value="C:/ServerRoot/workshop"> 
>       <input type="hidden" name="map_web_imagepath" 
> value="C:/ServerRoot/workshop/tmp/"> 
>       <input type="hidden" name="map_web_imageurl" value="/workshop/tmp/"> 
> 
> When clicking the initialize button the mapserv.exe crashes with message 
> "Memory could not be writen" .....in other case the itasca.map file could 
> not be found.... 
> 
> Here are some other details if needed.... 
> 
> Our server root is in c:/ServerRoot/ ....apache is installed in default 
> dir.... /cgi-bin/ alias points to  c:/ServerRoot/cgi-bin/ where the 
> mapserver/bin/ directory is copied to.... 
> 
> If the browser is pointed to mapserver.exe the default message about query 
> string being empty is displayed.... 
> 
> Any help would be much appricited...if you need any more info just let me 
> know.... 
> 



More information about the mapserver-users mailing list