forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for a mapserv config file. (MapServer#6303)
Adds support for a MapServer configuration file. It is required for CGI use and optional for MapScript. It standardizes site-level configuration across various operating system and web servers. Co-authored-by: sethg <[email protected]> Co-authored-by: Even Rouault <[email protected]>
- Loading branch information
1 parent
67b1f04
commit f478a37
Showing
36 changed files
with
3,234 additions
and
2,620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# | ||
# Sample MapServer 8.0 Config File | ||
# | ||
CONFIG | ||
|
||
# | ||
# Environment variables (see https://mapserver.org/environment_variables.html) | ||
# | ||
ENV | ||
# | ||
# Limit Mapfile Access | ||
# | ||
# MS_MAP_NO_PATH "1" | ||
MS_MAP_PATTERN "^/opt/mapserver" ## required | ||
|
||
# | ||
# Global Log/Debug Setup | ||
# | ||
# MS_DEBUGLEVEL "5" | ||
# MS_ERRORFILE "/opt/mapserver/logs/mapserver.log" | ||
|
||
# | ||
# Default Map | ||
# | ||
# MS_MAPFILE "/opt/mapserver/test/test.map" | ||
|
||
# | ||
# Proj Library | ||
# | ||
# PROJ_LIB "" | ||
|
||
# | ||
# Request Control | ||
# | ||
# disable POST requests (allowed by default, any value will do) | ||
# MS_NO_POST "1" | ||
|
||
# | ||
# Other Options | ||
# | ||
# MS_ENCRYPTION_KEY | ||
# MS_USE_GLOBAL_FT_CACHE | ||
# MS_PDF_CREATION_DATE | ||
# MS_MAPFILE_PATTERN "\.map$" | ||
# MS_XMLMAPFILE_XSLT | ||
# MS_MODE | ||
# MS_OPENLAYERS_JS_URL | ||
# MS_TEMPPATH | ||
# MS_MAX_OPEN_FILES | ||
|
||
# | ||
# OGC API | ||
# | ||
# OGCAPI_HTML_TEMPLATE_DIRECTORY "/usr/local/mapserver/share/ogcapi/templates/html-bootstrap4/" | ||
END | ||
|
||
# | ||
# Map Aliases | ||
# | ||
MAPS | ||
# TEST_MAPFILE "/opt/mapserver/test/test.map" | ||
END | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.