Added clear log button and ModSec improvements.

This commit is contained in:
usmannasir
2018-03-23 23:05:55 +05:00
parent 1e16db3a05
commit d9d3dd1149
19 changed files with 1721 additions and 18 deletions

View File

@@ -1573,7 +1573,7 @@ def saveSSL(request):
vhost = open(tempCertPath, "w")
vhost.write(data['key'])
vhost.write(data['cert'])
vhost.close()
@@ -1591,8 +1591,6 @@ def saveSSL(request):
execPath = execPath + " saveSSL --virtualHostName " + domain + " --path " + pathToStoreSSL + " --tempKeyPath " + tempKeyPath + " --tempCertPath " + tempCertPath + " --sslCheck 0"
output = subprocess.check_output(shlex.split(execPath))
if output.find("1,None") > -1: