Workshop demo problem {Scanned}

Siki Zoltan siki at AGT.BME.HU
Mon Jan 10 09:39:57 EST 2005


Hi,

On Mon, 10 Jan 2005, Ante Drnasin wrote:

>
> 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?

Not at all, you shoud put your map file somewhere else.

You have to specify full path to your map file in the url,
probably you give map=your_map_file.map in the url, change it to
map=/fullpath_from_root/your_map_file.map

I hope this helps you,

Bye
Zoltan

>
> 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