[mapserver-users] Copy mapserv.exe problem
Robert Sanson
Robert.Sanson at asurequality.com
Wed Oct 30 12:52:35 PDT 2019
Hi Stefan
Is your mapserver on Windows? Once you copy mapserv.exe change its name to the name of your mapfile and then edit httpd.conf and set up Apache redirects for each one
Eg. Suppose you had a mapfile map1.map and you copied mapserv.exe to map1.exe, then you could put the following line into httpd.conf:
SetEnvIf Request_URI "/cgi-bin/map1?" MS_MAPFILE=/path_to/map1.map
Regards
Robert
-----Original Message-----
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On Behalf Of StefanWebViewer
Sent: Thursday, 31 October 2019 4:01 a.m.
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Copy mapserv.exe problem
Hey!
I had already formulated an entry recently in which I asked for the error
message "msCGILoadMap (): Web application error. CGI variable" map "is not
set." asked.
Now I think I have found a more accurate diagnosis. For our project we need
several mapserv.exe, because we present different maps (Mapfiles) to
different users. Every time I come up with a new copy of the mapserv.exe
this error message follows. Does anyone know this problem? Does something
have to be considered when copying this file? Thank you very much!
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list