Any chance you can just install Apache to same locations?<div><br></div><div>Just override the installation directory to C:/Program Files/ on both.</div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
On Thu, Sep 8, 2011 at 4:02 PM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 9/8/2011 5:05 PM, JK Chen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I specify the location proj library in the map file, which points to apache cgin-bin dirs.. Because we have 32 bit and 64 bit machines, and the paths of the apache software on those two types machines are not the same, I end up having two map files.<br>

That creates installation problems for us. I&#39;m wondering if there is more elegant way to specify the path to proj library?<br>
<br>
In basegn.x32.map<br>
      CONFIG &quot;PROJ_LIB&quot; &quot;C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/&quot;<br>
In basegn.x64.map<br>
    CONFIG &quot;PROJ_LIB&quot; &quot;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin/&quot;<br>
</blockquote>
<br></div>
I believe you can set this up as an environment variable in each apache instance so so it points to the correct file. You would have to do this in the apache config file(s).<br>
<br>
-Steve W<div><div></div><div class="h5"><br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>A computer without Windows is like chocolate cake without mustard.<br>
</div>