diff --git a/config_other/httpd/roxy-wi.conf b/config_other/httpd/roxy-wi.conf index cb1bf956..b86ef88c 100644 --- a/config_other/httpd/roxy-wi.conf +++ b/config_other/httpd/roxy-wi.conf @@ -26,23 +26,27 @@ Order deny,allow Allow from all - + Options +ExecCGI -Indexes +MultiViews Order Deny,Allow Deny from all - + Options +ExecCGI -Indexes +MultiViews Order Deny,Allow Deny from all - + Deny from all + + Deny from all + + Order Deny,Allow Deny from all @@ -52,7 +56,7 @@ Order Deny,Allow Deny from all - + Header set X-XSS-Protection: 1; Header set X-Frame-Options: deny diff --git a/inc/ha.js b/inc/ha.js index b2fc979b..f78b2e1e 100644 --- a/inc/ha.js +++ b/inc/ha.js @@ -101,7 +101,7 @@ function add_master_addr(kp) { type: "POST", success: function( data ) { data = data.replace(/\s+/g,' '); - if (data.indexOf('error:') != '-1') || data.indexOf('UNREACHABLE') != '-1') { + if (data.indexOf('error:') != '-1' || data.indexOf('UNREACHABLE') != '-1') { showProvisioningError(data, '#creating-master-add', '#wait-mess-add', '#creating-error-add'); } else if (data == '' ){ showProvisioningWarning('#creating-master-add', 'master Keepalived', '#creating-warning-add', '#wait_mess-add'); @@ -125,7 +125,7 @@ function add_slave_addr(kp) { type: "POST", success: function( data ) { data = data.replace(/\s+/g,' '); - if (data.indexOf('error:') != '-1') || data.indexOf('UNREACHABLE') != '-1') { + if (data.indexOf('error:') != '-1' || data.indexOf('UNREACHABLE') != '-1') { showProvisioningError(data, '#creating-slave-add', '#wait-mess-add', '#creating-error-add'); } else if (data == '' ){ showProvisioningWarning('#creating-slave-add', 'master Keepalived', '#creating-warning-add', '#wait_mess-add');