commit 66fbc8afae406672d43a26d9694a4d77dcdb0de0
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sat Nov 5 18:43:15 2016 +0100

    frontend-php R: webserver(indexfile); allow apache access to 
/usr/share/zabbix/frontends/php

 zabbix-apache.conf | 10 ++++++++++
 zabbix.spec        |  1 +
 2 files changed, 11 insertions(+)
---
diff --git a/zabbix.spec b/zabbix.spec
index 32ecb39..e7b349d 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -129,6 +129,7 @@ Requires:   php(xmlreader)
 Requires:      php(xmlwriter)
 Requires:      webapps
 Requires:      webserver(alias)
+Requires:      webserver(indexfile)
 Requires:      webserver(php)
 Suggests:      php(mysql)
 Suggests:      php(pgsql)
diff --git a/zabbix-apache.conf b/zabbix-apache.conf
index 931ef81..35429ee 100644
--- a/zabbix-apache.conf
+++ b/zabbix-apache.conf
@@ -1 +1,11 @@
 Alias /zabbix /usr/share/zabbix/frontends/php
+<Directory /usr/share/zabbix/frontends/php>
+       <IfModule mod_authz_host.c>
+               Require all granted
+       </IfModule>
+       <IfModule mod_access_compat.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+</Directory>
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/66fbc8afae406672d43a26d9694a4d77dcdb0de0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to