File: mapserver-sample.conf

package info (click to toggle)
mapserver 8.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,492 kB
  • sloc: ansic: 137,759; cpp: 124,149; python: 3,175; xml: 1,722; yacc: 1,114; cs: 1,001; sh: 836; lex: 778; java: 588; perl: 489; makefile: 383; tcl: 158; ruby: 55
file content (80 lines) | stat: -rw-r--r-- 1,629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# 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 when referencing mapfiles by path
    # MS_MAP_BAD_PATTERN "[/\\\\]{2}|[/\\\\]?\\.+[/\\\\]|,"

    #
    # Global Log/Debug Setup
    #
    # MS_DEBUGLEVEL "5"
    # MS_ERRORFILE "/opt/mapserver/logs/mapserver.log"

    #
    # Global Error Redirect Handling
    #
    # see https://mapserver.org/mapfile/web.html#EMPTY
    # MS_EMPTY_URL "https://mapserver.org/"
    #
    # see https://mapserver.org/mapfile/web.html#ERROR
    # MS_ERROR_URL "https://mapserver.org/"

    #
    # Default Map
    #
    # MS_MAPFILE "/opt/mapserver/test/test.map"

    #
    # Proj Library
    #
    # PROJ_DATA "/usr/local/share/proj"

    #
    # Request Control
    #
    # disable POST requests (allowed by default, any value will do)
    # MS_NO_POST "1"

    #
    # Response Control
    #
    # suppress version information in responses, recommended for production deployments
    # MS_NO_VERSION "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-bootstrap/"
  END
 
  #
  # Map Aliases
  #
  MAPS
    # TEST_MAPFILE "/opt/mapserver/test/test.map"
  END

END