File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,34 @@ MS_ERRORFILE
111111 available only after the `MS_ERRORFILE` directive has been parsed.
112112
113113 .. seealso:: :ref:`debugging`
114+
115+ .. index::
116+ pair: Environment variables; MS_INDEX_TEMPLATE_DIRECTORY
117+
118+ MS_INDEX_TEMPLATE_DIRECTORY
119+ .. versionadded:: 8.6
120+
121+ The `MS_INDEX_TEMPLATE_DIRECTORY` environment variable can be set
122+ to activate an index page that lists all mapfiles and related services.
123+ The value should point to the folder containing the HTML templates
124+ to use. This variable should be set in the MapServer :ref:`config` file.
125+
126+ If this variable is not set then the index page is not generated.
127+
128+ Example CONFIG file contents::
129+
130+ ENV
131+ #
132+ # Index page
133+ #
134+ MS_INDEX_TEMPLATE_DIRECTORY "/ms4w/share/ogcapi/templates/html-index-bootstrap/"
135+ END
136+
137+ and then calls the mapserv CGI should return the index page::
138+
139+ http://127.0.0.1/cgi-bin/mapserv.exe
140+
141+ .. seealso:: :ref:`index-page` & :ref:`rfc140`
114142
115143.. index::
116144 pair: Environment variables; MS_MAP_NO_PATH
You can’t perform that action at this time.
0 commit comments