<div dir="ltr">I do think it will be helpful to folks deploying applications like yourself. It's very helpful, IMHO, to separate MapServer and web server configuration. So to get MapServer and MapCache going you'd set 2 environment variables that point to the config files and the config files would contain the rest. Like the MapCache config file, a sample MapServer version can be distributed with copious comments to help users.<div><br></div><div>--Steve</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 15, 2021 at 12:55 PM Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I guess I'll be able to answer these questions once I get this working <br>
inside MS4W.  Steve let me know and I'll dive into testing this config <br>
file.<br>
<br>
I think new users will really like this config file.<br>
<br>
-jeff<br>
<br>
<br>
<br>
On 2021-06-15 2:32 p.m., Jeff McKenna wrote:<br>
> Hi Steve,<br>
> <br>
> I assume that if an admin defines a set of mapfiles in the MAPS section <br>
> of the config file, then only those mapfiles would be allowed <br>
> (automagically) through CGI etc (therefore removing the difficult setup <br>
> of the new MS_MAP_PATTERN environment variables, which unfortunately 99% <br>
> of the users will never understand/be able to setup).  Am I <br>
> understanding the goal correctly here for this config file?<br>
> <br>
> Put another way: how does defining a mapfile in the MAPS section of the <br>
> config file relate to the default MS_MAP_PATTERN & MS_MAP_BAD_PATTERN <br>
> (which most users will never understand or be able to setup) ?<br>
> <br>
> So with a secure config file required for the 8.0 release, can we remove <br>
> the hardcoded values for MS_MAP_PATTERN & MS_MAP_BAD_PATTERN that are <br>
> currently in the source code?<br>
> <br>
> <br>
> -jeff<br>
> <br>
> <br>
> <br>
> On 2021-06-15 2:04 p.m., Steve Lime wrote:<br>
>> Hi all: Just checking on folks thoughts on moving forward with a <br>
>> config file. There was a bit of discussion back in early April...<br>
>><br>
>> <a href="https://github.com/sdlime/mapserver/wiki/MapServer-8.0-Config-File" rel="noreferrer" target="_blank">https://github.com/sdlime/mapserver/wiki/MapServer-8.0-Config-File</a> <br>
>> <<a href="https://github.com/sdlime/mapserver/wiki/MapServer-8.0-Config-File" rel="noreferrer" target="_blank">https://github.com/sdlime/mapserver/wiki/MapServer-8.0-Config-File</a>><br>
>><br>
>> Would be nice to move on it sooner rather than later.<br>
>><br>
>> --Steve<br>
>><br>
>><br>
> _______________________________________________<br>
> mapserver-dev mailing list<br>
> <a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
> <br>
<br>
<br>
-- <br>
Jeff McKenna<br>
GatewayGeo: Developers of MS4W, MapServer Consulting and Training<br>
co-founder of FOSS4G<br>
<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a><br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div>