Re: [mapserver-users] Copy mapserv.exe problem
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 On Behalf Of StefanWebViewer Sent: Thursday, 31 October 2019 4:01 a.m. To: mapserver-users@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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Copy mapserv.exe problem
Stefan, If you have several URLs then you have to assign the map CGI variable based on the URL request, this is done in http.conf (Apache). On Wednesday, October 30, 2019, 9:01:24 AM CST, StefanWebViewer wrote: 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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users