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: http://thatextramile.be/blog/2012/01/hosting-a-node-js-site-through-apache
I set everything up, but Apache was throwing 500 errors, which seems to be something like this situation: setting up a basic mod_proxy virtual host
I tried running this command:
sudo /usr/sbin/setsebool -P httpd_can_network_connect 1
In order to get that command working, I had to install this:
sudo apt-get install policycoreutils
But then when I tried the command, I get this error message:
setsebool: SELinux is disabled.
All I want to do is be able to forward requests to
nodejs.mydomain.com to a nodejs daemon running on port 8000.
How do I enable
setsebool, or alternatively is there another way that I can get nodejs peacefully coexisting with an Apache server running on port 80?