Hi  Zak:

       Thanks, Zak. My fault. I used LWP Selinux as my google search keywords. 
Can't believe I didn't think of "CGI SELinux" as keywords...

Regards,
Ludwig




----- Original Message ----
> From: Zak Elep <zak...@gmail.com>
> To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
><plug@lists.linux.org.ph>
> Cc: Ludwig Isaac Lim <ludz_...@yahoo.com>
> Sent: Thu, February 17, 2011 3:30:03 PM
> Subject: Re: [plug] Unable to connect to web server using LWP (Perl) if 
> SELinux 
>is turned on
> 
> On Thu, Feb 17, 2011 at 7:05 AM, Ludwig Isaac Lim <ludz_...@yahoo.com> wrote:
> >       Any ideas why? Sorry, I'm not that familiar with SELinux and  I can't 
> >  
>find
> > SELinux related messages (except for it is turned on  / turned off  
> > messages) 
>in
> > /var/log/messages.
> 
> First post in a "google:cgi  selinux":
> 
> "SELinux policy is customizable based on least access required.  So by
> default SElinux prevents certain http scripts from working.  httpd
> policy is extremely flexible and has several booleans that allow  you
> to manipulate the policy and run httpd with the tightest  access
> possible. Here is the process for changed the status of these  booleans
> for the Apache Web Server."[0]
> 
> [0]   http://beginlinux.com/server_training/web-server/976-apache-and-selinux
> 
> You'll  thus need to customize your SELinux policy accordingly.
> Probably this gem on  the command line:
> 
> # setsebool -P httpd_can_network_connect 1
> 
> -- 
> Zak B. Elep  ||  zakame.net
> 1486 7957 454D E529 E4F1  F75E 5787  B1FD FA53 851D
> 


      
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to