SELinux Query - Allowing http out
Hi,
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. |
Hi,
Always first check the log files, particularly /var/log/messages and /var/log/audit/audit.log. That said, try out this command Quote:
Tshimanga. |
Perfect! Thank you very much Tshimanga, and thanks for the tips regarding the logs to check.
|
You're welcome.
Mark the thread as SOLVED. |
All times are GMT -5. The time now is 10:47 AM. |