[mapserver-users] WEB parameters in mapfile being ignored
Steve Lime
Steve.Lime at dnr.state.mn.us
Thu Apr 23 13:39:28 PDT 2009
They're ignored for security reasons. It's simply not a good idea to allow an outside user to change
where files are being written. They were only ever changeable for the sake of convenience when
configuring a demo- not a good reason.
Fix is easy, just edit your mapfile and set IMAGEPATH and IMAGEURL appropriately in the WEB
section.
Steve
>>> On 4/23/2009 at 3:18 PM, in message
<BAY117-DS87A6B2BB872A2FD00E094F9750 at phx.gbl>, "P.Romero"
<romero619 at hotmail.com> wrote:
> I just compiled/installed the 5.4.0 versions of mapserver & mapscript.
>
> Im loading a mapfile from php, drawing & saving the image using
> '$image->saveWebImage()'.
>
> However, the WEB parameters for IMAGEPATH & IMAGEURL in my mapfile are being
> ignored.
> The file is being saved in the same directory as the php file that has the
> mapscript being called to draw the map.
> Even the LOG parameter is being ignored.
>
> How can I debug & find out why my WEB parameters are being ignored?
>
> Please help,
> Thanks,
> P.Romero
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list