[mapserver-users] how to specify the location of projection library, how to do it not in map file?

forums forums at craniumjuice.com
Thu Sep 8 17:14:54 EDT 2011


Any chance you can just install Apache to same locations?

Just override the installation directory to C:/Program Files/ on both.





On Thu, Sep 8, 2011 at 4:02 PM, Stephen Woodbridge
<woodbri at swoodbridge.com>wrote:

> On 9/8/2011 5:05 PM, JK Chen wrote:
>
>> Hi,
>>
>> 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.
>> That creates installation problems for us. I'm wondering if there is more
>> elegant way to specify the path to proj library?
>>
>> In basegn.x32.map
>>      CONFIG "PROJ_LIB" "C:/Program Files/Apache Software
>> Foundation/Apache2.2/cgi-bin/"
>> In basegn.x64.map
>>    CONFIG "PROJ_LIB" "C:/Program Files (x86)/Apache Software
>> Foundation/Apache2.2/cgi-bin/"
>>
>
> 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).
>
> -Steve W
>
> ______________________________**_________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>



-- 
A computer without Windows is like chocolate cake without mustard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110908/778fcdd3/attachment.html


More information about the mapserver-users mailing list