# Reconfigure Apache2:/usr/sbin/a2chkconfig||:
if[-e/etc/httpd2/conf/mods-enabled/mod_security.load];then
CONF_OK=0
/usr/sbin/apachectl2configtest&&CONF_OK=1||:
if["$CONF_OK"="1"];then
servicehttpd2condrestart||:
else
echo"Some errors detected in Apache2 configuration!"echo"To use modsecurity check configuration and start httpd2 service."echo
fi
else
echo"Apache2 modsecurity module had been installed, but does't enabled."echo"Check /etc/httpd2/conf/mods-start.d directory for files with 'mod_security=no' lines."echo
fi