On Tue, Aug 16, 2022 at 7:10 AM Steve Lime <[email protected]> wrote: > There are 2 scenarios when you won't get the error Jeff references > when MS_MAP_PATTERN is not set in the config file: > > 1. If using an map alias (set in the map section of the config file) - > these can only be read from the config file. > 2. If MS_MAP_PATTERN is set in the underlying environment - that is, > by the web server. Things are set up to fall back to the environment > variables (we're using GDAL functionality) if they exist for any of the MS* > variables. > > Do either of these apply? >
Yep, I'm using aliases in the MAP section. > On Tue, Aug 16, 2022 at 7:31 AM Richard Greenwood < > [email protected]> wrote: > >> Sorry I missed the TEMPLATEPATTERN documentation (reading too quickly in >> all the excitement over a new MS version)! >> >> Regarding MS_MAP_PATTERN, I'm doing a WMS GetMap request. >> >> Rich >> >> >> >> >> On Tue, Aug 16, 2022 at 6:07 AM Jeff McKenna < >> [email protected]> wrote: >> >>> (I tested in my browser with a CGI MODE=map call) >>> >>> -jeff >>> >>> >>> >>> On 2022-08-16 9:05 a.m., Jeff McKenna wrote: >>> > Hi Rich, >>> > >>> > I just tested the 8.0.0-beta2 and it is in fact required: "Web >>> > application error. Required configuration value MS_MAP_PATTERN not >>> set". >>> > >>> > -jeff >>> > >>> > >>> > >>> > On 2022-08-16 9:00 a.m., Jeff McKenna wrote: >>> >> Hi Rich, >>> >> >>> >> Correct, TEMPLATEPATTERN was removed (this is already noted in the >>> >> documentation at https://mapserver.org/mapfile/map.html ). If you >>> see >>> >> it mentioned elsewhere please let me know. >>> >> >>> >> Regarding MS_MAP_PATTERN, let's let SteveL respond here, and I will >>> >> correct the docs (as throughout this 8.0 process I always assumed it >>> >> was now required). >>> >> >>> >> Thanks, >>> >> >>> >> -jeff >>> >> >>> >> >>> >> >>> > >>> >>> _______________________________________________ >>> MapServer-dev mailing list >>> [email protected] >>> https://lists.osgeo.org/mailman/listinfo/mapserver-dev >>> >> >> >> -- >> Richard W. Greenwood >> www.greenwoodmap.com >> _______________________________________________ >> MapServer-dev mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/mapserver-dev >> > -- Richard W. Greenwood www.greenwoodmap.com
_______________________________________________ MapServer-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-dev
