/[smecontribs]/rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-server-0.1-disable_web_access.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-server-0.1-disable_web_access.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Mar 2 23:29:47 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-10_el4_sme, smeserver-zabbix-proxy-0_1-5_el4_sme, smeserver-zabbix-proxy-0_1-8_el4_sme, smeserver-zabbix-proxy-0_1-9_el4_sme, smeserver-zabbix-proxy-0_1-6_el4_sme, smeserver-zabbix-proxy-0_1-7_el4_sme, smeserver-zabbix-proxy-0_1-4_el4_sme, HEAD
Initial import of smeserver-zabbix-proxy

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web
2 --- smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web 2009-02-04 12:14:05.000000000 +0100
3 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web 2009-02-11 09:36:32.000000000 +0100
4 @@ -1,5 +1,7 @@
5 {
6 -if ((${'zabbix-server'}{'status'} || 'disabled') eq 'enabled'){
7 +if (
8 + ((${'zabbix-server'}{'status'} || 'disabled') eq 'enabled') &&
9 + ((${'zabbix-server'}{'WebAccess'} || 'local') ne 'disabled')){
10
11 my $access = (${'zabbix-server'}{'WebAccess'} || 'local') eq 'public' ?
12 'all':"$localAccess $externalSSLAccess";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed