I am running Ubuntu, and an Apache server.
I wanted to try out nodejs, and I wanted to run it through a virtualhost on Apache.
I read this article and tried to follow the instructions:
I set everything up, but Apache was throwing 500 errors, which seems to be something like this situation:
setting up a basic mod_proxy virt
My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could fix this via the command:
setsebool -P httpd_can_network_connect
However, I don't exactly want httpd to be able to connect to all tcp ports.
So in the Red Hat exam they want you to use SELinux. If for example you install vsftp, then do setsebool -P ftp_home_dir=1 or setsebool -P ftp_home_dir on to allow the users on the server to access the home directories. Then do a reboot I notice the ftp_home_dir gets set back to off. I'm I doing something wrong?