Re: apache SetEnv with selinux

2008-12-17 Thread Peter
> Can you do this in your envvars file, sourced by apachectl, > instead? > Are these settings for your CGI's or for httpd itself? > I didn't think > the latter worked reliably anyway. > Eric, thanks. I modified /etc/ld.conf to get it work. Another question is that I use audit2allow to create *

Re: apache SetEnv with selinux

2008-12-17 Thread Eric Covener
On Wed, Dec 17, 2008 at 12:15 AM, Peter wrote: > in apache httpd.conf file, > I set the LD_LIBRARY_PATH pointing to my run time lib, > SetEnv LD_LIBRARY_PATH /my/dir > > if selinux is enforced, LD_LIBRARY_PATH settings won't work. I cannot find > any error messages in apache, /var/log/messages

apache SetEnv with selinux

2008-12-16 Thread Peter
Hello, in apache httpd.conf file, I set the LD_LIBRARY_PATH pointing to my run time lib, SetEnv LD_LIBRARY_PATH /my/dir if selinux is enforced, LD_LIBRARY_PATH settings won't work. I cannot find any error messages in apache, /var/log/messages and audit.log. After disable selinux, it looks tha