Thanks for your fast answer. It does not solve my problem.
Nick Kew wrote:
On Wed, 17 Oct 2007 14:34:40 +0200
Francoise Koenig-Jost <[EMAIL PROTECTED]> wrote:
- I tried to add:
SetEnv LD_LIBRARY_PATH
"/www/httpd-2.2.6/lib:/usr/lib:/usr/local/lib" in apache
configuration file, it does not change anything.
For an external script, you'll want PassEnv.
Actually, if it's a RewriteMap, that may be different (haven't
checked). Set the LD_LIBRARY_PATH in apachectl, too.
As you suggested, I tried PassEnv, it does not change anything for my
RewriteMap external python script.
The LD_LIBRARY_PATH defined in apachectl is fine, it has /usr/local/lib
where the needed libgcc_s.so.1 resides.
I also tried changing the first line of my script from:
#!/opt/python/bin/python
to:
#!/usr/bin/env /opt/python/bin/python
It does not work either...
But since I don't like to mess up the system installation
directories, I'd like to know what I should do to set the
LD_LIBRARY_PATH for the python script. (remember, it works with
Apache 1.3.27).
We've had a lot of security updates since Apache 1.3.27.
Maybe to many ;-)
For the moment, I'll put a symbolic link to /usr/local/lib/libgcc_s.so.1
in /usr/lib . Maybe there is something to take into consideration here
for a future release of mod_rewrite, at least in documenting the
use/limitation of external RewriteMap programs.
Anyway, thanks again and best regards,
Francoise Koenig
begin:vcard
fn;quoted-printable:Fran=C3=A7oise K=C3=B6nig
n;quoted-printable;quoted-printable:K=C3=B6nig;Fran=C3=A7oise
org:ESRF;Computing Services - Web Group
adr:BP 220;;6 rue Jules Horowitz;GRENOBLE;;38043;France
email;internet:[EMAIL PROTECTED]
tel;work:+33 (0)4 76 88 25 57
x-mozilla-html:TRUE
url:http://www.esrf.eu/
version:2.1
end:vcard
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]