File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11CONFIG
22 ENV
3- MS_MAP_PATTERN "^\/usr\/local\/((\.\/)?|([^\.][-_A-Za-z0-9\.]*\/{1}))*([-_A-Za-z0-9\.]+\.(map))$"
3+ # allow Mapfiles from any location but they must end with .map
4+ MS_MAP_PATTERN ".*/.*\.map$"
45 MS_MAP_BAD_PATTERN "[/\\]{2}|[/\\]?\.{2,}[/\\]|,"
56 OGCAPI_HTML_TEMPLATE_DIRECTORY "/usr/share/mapserver/ogcapi/templates/html-plain/"
67 END
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ MS_DEMO_VERSION="1.2"
5959MS_DOCS_VERSION=" 8-2"
6060
6161wget -c --progress=dot:mega \
62- " http ://download.osgeo.org/livedvd/data/mapserver/mapserver-$MS_DOCS_VERSION -html-docs.zip"
62+ " https ://download.osgeo.org/livedvd/data/mapserver/mapserver-$MS_DOCS_VERSION -html-docs.zip"
6363wget -c --progress=dot:mega \
6464 " https://github.com/mapserver/mapserver-demo/archive/v$MS_DEMO_VERSION .zip"
6565
146146cp /usr/share/applications/mapserver.desktop " $USER_HOME /Desktop/"
147147chown " $USER_NAME :$USER_NAME " " $USER_HOME /Desktop/mapserver.desktop"
148148
149+ # allow Mapfiles to be read from /home/user
150+ chmod o+rx " $USER_HOME "
149151
150152# share data with the rest of the disc
151153ln -s /usr/local/share/mapserver/demos/itasca/data \
You can’t perform that action at this time.
0 commit comments