<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&#44; 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. &nbsp;You work the same in both work spaces&#44; 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>
      &gt;&gt;&gt; Puneet Kishor &lt;punk.kish@gmail.com&gt; 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&#44; <a href="http://mapserver.org/mapfile/variable_sub.html">http://mapserver.org/mapfile/variable_sub.html</a>&nbsp;details how I can do variable substitution using either cookies or CGI params. My problem is slightly different&#44; 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&#44; along with the rest of the application&#44; are pushed to a git repo&#44; and then pulled down to the production server where&#44; unfortunately&#44; the path names are different. Short of maintaining two sets of mapfiles&#44; 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>