Last active
December 25, 2015 20:08
-
-
Save vandorjw/7032231 to your computer and use it in GitHub Desktop.
Apache Notes, these are applicable to both 2.4 and 2.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check if which vhosts are running: | |
# httpd -S | |
Check your version of apache httpd | |
# httpd -v | |
If you are running centos, RHEL5,6 or 7, Fedora, remember to put | |
LoadModule wsgi_module modules/mod_wsgi.so | |
WSGISocketPrefix /var/run/wsgi | |
under /etc/httpd/conf.modules/10-wsgi.conf, or wherever you specify loading the wsgi module. | |
Is SELINUX interfering? Don't rush to disable it! | |
# setenforcing 0 | |
Will immediately put it in permissive mode. Use it to debug. It'll stay until you reboot. | |
Also, you will likely need to set the following | |
# setsebool -P httpd_can_network_connect 1 | |
# setsebool -P httpd_can_network_connect_db 1 | |
# setsebool -P httpd_can_network_memcache 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment