[mapserver-users] Apache php/mapscript and PROJ_LIB
Daniel Morissette
morissette at dmsolutions.ca
Thu Nov 28 07:12:30 PST 2002
> fx gamoy wrote:
>
> The only probleme with the apache configuration is that it's preform
> an error with my projection system. It don't care about the PROJ_LIB
> environnement variable i have defined on NT (control panel-> system)
> Is it an other way to define the PROJ_LIB variable??? (httpd.conf???
> php.ini?? globprefs.php??
> what is the better config????
> IIS/PHP/NT? APACHE/PHP/NT?? APACHE/PHP/LINUX?
Try using the following in your httpd.conf:
SetEnv PROJ_LIB ...
PassEnv PROJ_LIB
Just using "PassEnv PROJ_LIB" may be enough too to ask Apache to pass
the PROJ_LIB value from the system environment variable to the CGI
scripts.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list