<html>
<head>
</head>
<body style="font-style: normal; font-family: Comic Sans MS; margin-top: 4px; margin-right: 4px; font-size: 12pt; line-height: normal; font-weight: normal; margin-bottom: 1px; font-variant: normal; margin-left: 4px">
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">Oh man, easy one . . .</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">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.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">You still need to manage the pathing differences separately however.</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<font size="3" face="Comic Sans MS">bobb</font> </p>
<br>
<p style="margin-bottom: 0; margin-top: 0">
<br>
<br>
>>> Puneet Kishor <punk.kish@gmail.com> wrote:<br> </p>
<table bgcolor="#f3f3f3" style="margin-top: 0; margin-right: 0; font-size: 1em; margin-bottom: 0; margin-left: 15px" border="0">
<tr>
<td>
<div style="padding-left: 7px; border-left: solid 1px #050505">
<p style="margin-bottom: 0; margin-top: 0">
So, <a href="http://mapserver.org/mapfile/variable_sub.html">http://mapserver.org/mapfile/variable_sub.html</a> 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.<br><br>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.<br><br><br><br>--<br>Puneet Kishor_______________________________________________<br>mapserver-users mailing list<br>mapserver-users@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</p>
</div>
</td>
</tr>
</table>
</body>
</html>