[mapserver-users] Relative path's in mapfile
jmckenna at gatewaygeomatics.com
Wed Jan 25 11:11:21 EST 2012
On 12-01-24 10:16 PM, Richard Greenwood wrote:
> A more common and flexible approach is to set and environment variable
> in your Apache httpd.conf file, for example
> SetEnv MYMAP "C:/Files/apps/demo/demoCV.map"
> Those are forward slashes not back slashes even though it's Windows.
> And your URL is now
> This is considered to be more secure because you are not exposing your
> file system path to the public.
As Rich noted, those little tricks are very useful - personally I am
constantly referred to the docs for this to use on my client's machines:
Keep that link handy! :)
MapServer Consulting and Training Services
More information about the mapserver-users