Make apache work with selinux
The default configuration of the apache selinux policy doesn't allow apache to connect to the turbogears gui. This sets the correct boolean to allow that connection.
This commit is contained in:
1 parent
24c22a2ebc
commit
22710a8dce
1 file changed
+3
@@ -369,6 +369,9 @@ def main():
|
||||
ds.restart()
|
||||
krb.restart()
|
||||
|
||||
# Allow apache to connect to the turbogears web gui
|
||||
run(["/usr/sbin/setsebool", "httpd_can_network", "true"])
|
||||
|
||||
# Restart apache
|
||||
run(["/sbin/service", "httpd", "restart"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user