Oh man, easy one . . . Use an INCLUDE for the path in each site with their respective paths in the INCLUDE file for each site. You work the same in both work spaces, but the path differences are handled in the INCLUDEs.
You still need to manage the pathing differences separately however. bobb >>> Puneet Kishor <punk.k...@gmail.com> wrote: So, http://mapserver.org/mapfile/variable_sub.html details how I can do variable substitution using either cookies or CGI params. My problem is slightly different, and I am hoping one of you wizards must have solved it already so you could help. I have mapfiles on my development machine with one set of path names. These mapfiles, along with the rest of the application, are pushed to a git repo, and then pulled down to the production server where, unfortunately, the path names are different. Short of maintaining two sets of mapfiles, how can I do a variable substitution in the path name so everything works. -- Puneet Kishor_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users