Ted Spradley wrote:

Then I tried setting the environment variable by adding 'SetEnv
LD_LIBRARY_PATH /usr/local/lib'
to the /var/www/vhosts/domain/conf/httpd.include file as follows:

<VirtualHost xxx.xxx.xxx.xx:80>
        ServerName   maps.domain.com:80
        SuexecUserGroup         snoogadmin psacln
        ServerAdmin  "ad...@domain.com"
        DocumentRoot /var/www/vhosts/domain.com/subdomains/maps/httpdocs
        CustomLog  /var/www/vhosts/domain.com/statistics/logs/access_log
plesklog
        ErrorLog  /var/www/vhosts/domain.com/statistics/logs/error_log
        ScriptAlias  /cgi-bin/ /var/www/cgi-bin/
        SetEnv LD_LIBRARY_PATH /usr/local/lib

and restarted Apache, but with the same result of '500 Internal Server
Error'.


You also need to tell Apache to pass the env var to the CGI environment using PassEnv:

  PassEnv LD_LIBRARY_PATH

Daniel
--
Daniel Morissette
http://www.mapgears.com/
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to