It's not controlled in the .map file, it's in the HTML request. If you're making WMS requests make sure your url contains: ?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0 or if you're using the legacy mapserv requests: ?mode=map Either of those will prevent mapserv from writing the image file to your server and pass the image directly back to your app.
On Tue, Mar 18, 2025 at 9:07 AM Rob Dennett via MapServer-users < mapserver-users@lists.osgeo.org> wrote: > I am trying to use MapCache to replace the built-in caching mechanism of > MapServer and when testing, I am seeing the following in the error log: > > msSaveImage(): Unable to access file. Failed to create output file > (/myFolder/AREATYPE1742226286187.png) > > I expect that this is because of a permissions issue with the directory, > but I don't want MapServer to try and save the tile at all. I assume this > action is controlled or could be overwritten by something in the .map > file. Is that accurate? If so, what is it? > > In WEB, I have the IMAGEPATH and IMAGEURL lines commented out, FYI. > > Thanks, > Rob > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Richard W. Greenwood www.greenwoodmap.com
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users