Skip to content

Commit 8137e8a

Browse files
authored
Merge pull request #912 from jmckenna/conf-apache
expand CONFIG tip for Apache
2 parents f900791 + 13a4ac6 commit 8137e8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

en/mapfile/config.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ for different distributions.
1616
.. TIP::
1717
For example, compiling from source on Ubuntu, by default MapServer will install
1818
a sample config file at */usr/local/etc/mapserver-sample.conf*, and you must
19-
rename that file to *mapserver.conf*.
19+
rename that file to *mapserver.conf*, and then add into your Apache *.conf* file:
20+
*SetEnv MAPSERVER_CONFIG_FILE "/usr/local/etc/mapserver.conf"*. You can also
21+
set this in your *~/.bashrc* file, so that the MapServer commandline utilities
22+
can find it, by adding there: *export MAPSERVER_CONFIG_FILE "/usr/local/etc/mapserver.conf"*.
2023

2124
.. TIP::
2225
For MS4W users (version >= 5), the config

0 commit comments

Comments
 (0)