httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] trouble sending environmental variable
Date Tue, 24 Jul 2007 11:23:24 GMT
> -----Original Message-----
> From: JJ [mailto:josh8912@yahoo.com] 
> Sent: Dienstag, 24. Juli 2007 06:46
> To: users@httpd.apache.org
> Subject: [users@httpd] trouble sending environmental variable
> 
> Hello:
> I am new at this and have apache 2 on my local
> machine.  On this machine, I can open a terminal,
> start python, and import the scipy module.  That
> module requires that the LD_LIBRARY_PATH vaiable be
> set, which it is in my .rcbash file.  However, when I
> run a cgi script the import of scipy fails and I get
> the message that it cannot find the shared library it
> is looking for.  I tried ading SeEnv LD_LIBRARY_PATH
> /path at the end of my httpd.conf file, and I also
> tried adding PASSEnv LD_LIBRARY_PATH.  I stoped and
> started hpptd again, both from the Services gui in
> Fedora and via the apachestl script in a terminal. 
> None of these seem to fix the problem. 

PassEnv should work (nb spelling...) - provided the start-up shell also
has LD_LIBRARY_PATH set.

> Can you
> suggest anything I can try, and can you tell me how to
> verify that the environmental variable was really set?

Make a CGI script that just pipes out the values to STDOUT. Eg,
`printenv` or the %Env hash in perl...




> Thanks
> John
> 
> 
>        
> ______________________________________________________________
> ______________________
> Choose the right car based on your needs.  Check out Yahoo! 
> Autos new Car Finder tool.
> http://autos.yahoo.com/carfinder/
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message