Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: httpd conect to database: msg#00027
|
Subject: |
Re: httpd conect to database |
On Wed, 2005-08-03 at 13:42 -0400, John Griffiths wrote:
> I currently run a forum using phpBB with postgresql as the database. It
> is currently hosted on SuSE 9.2.
>
> I would like to move from SuSE to FC4 and I want to keep the SELinux
> protections. If I have SELinux enforcing in targeted, phpBB cannot
> connect to the database. If SELinux is in permissive, phpBB can connect
> to the database.
>
> I am a newbie to SELinux and have no idea how to write my own rules and
> the learning curve seems a bit steep. I will get there, but any help
> would be appreciated solving this.
You might find the FC3 SELinux Apache FAQ useful. Most of it is still
useful in FC4, and it's what introduced me to tweaking SELinux policy.
http://fedora.redhat.com/docs/selinux-apache-fc3/sn-debugging-and-customizing.html
The document's examples assume you're using the strict policy rather
than targeted, so watch out for that, but other than that there's
probably enough there to get you sorted.
Paul.
--
Paul Howarth <paul@xxxxxxxxxxxx>
|
| |