FYI: Must disable SELinux for proper Xataface installation
Posted: Mon Nov 08, 2010 10:56 am
Hello,
Just run into this and I figured it may be of use to someone someday.
I tried to move a xataface app on a brand new Fedora 14 machine, but xataface kept telling me that the templates_c directory was not writable by the webserver, although I had made sure that it was. I even changed mode to 777, but kept getting the same error in the httpd error log file.
I then created a templates_c in the app directory, but still it did not work.
Finally, I had to disable the Security Encanced Linux setting in /etc/sysconfig/selinux and afterwards everything works as advertised.
From my limited experience the Selinux feature is usually disabled for most web apps and you need to setup special policies in order to take advantage of it.
Does anybody know a way around it, that is to leave it enabled and allow xataface to work properly ?
Thank you,
S.
Just run into this and I figured it may be of use to someone someday.
I tried to move a xataface app on a brand new Fedora 14 machine, but xataface kept telling me that the templates_c directory was not writable by the webserver, although I had made sure that it was. I even changed mode to 777, but kept getting the same error in the httpd error log file.
I then created a templates_c in the app directory, but still it did not work.
Finally, I had to disable the Security Encanced Linux setting in /etc/sysconfig/selinux and afterwards everything works as advertised.
From my limited experience the Selinux feature is usually disabled for most web apps and you need to setup special policies in order to take advantage of it.
Does anybody know a way around it, that is to leave it enabled and allow xataface to work properly ?
Thank you,
S.