SELinux Query - Allowing http out
I have a new server, Centos 6, onto which I'm migrating a number of existing sites. They mostly seem to work without any problem on the new box, but I am having issues with one.
This particular site, upon receiving http requests, then makes http requests of its own out into the www, to retrieve certain data. However, with SELinux enabled (which I want), it always fails, with a message something like "500 Can't connect ... Permission Denied." With SELinux disabled it works.
So, even though visitors can make http requests okay, the site itself cannot make any http requests out. FYI, the same request from the command line works fine.
I would really like to leave SELinux enabled if possible, but I have no idea how or what to configure in order to allow what I want.
Any assistance much appreciated! Thx.