From 6aef1d15711eaab5b339d46752c46b6a4a95a837 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 10 Apr 2015 15:34:16 +0000 Subject: [PATCH] updated README --- codepot/README | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/codepot/README b/codepot/README index 3368585f..1a78dd9d 100644 --- a/codepot/README +++ b/codepot/README @@ -97,11 +97,27 @@ INSTALLATION ON CENTOS $ ls -lZd /var/cache/codepot drwxr-xr-x apache apache system_u:object_r:httpd_sys_content_t /var/cache/codepot - 10. Restart httpd. + 10. If you have SELinux on in the enforcing mode, ensure to allow httpd to + execute an external command. + + $ /usr/sbin/getsebool httpd_ssi_exec + httpd_ssi_exec --> off + + If httpd_ssi_exec is off, switch it to on. + + $ /usr/sbin/setsebool -P httpd_ssi_exec=1 + $ /usr/sbin/getsebool httpd_ssi_exec + httpd_ssi_exec --> on + + The only external command Codepot executes is '/etc/codepot/cloc.pl' which + is configured under 'cloc_command_path' in /etc/codepot/codepot.ini. Some + CLOC graphs won't work properly when the execution of this command fails. + + 11. Restart httpd. $ service httpd restart - 11. Access http://your-server/codepot/ + 12. Access http://your-server/codepot/ INSTALLATION ON DEBIAN