From b0133162f035ac8a462ab9c6102e9ddfe391e4c2 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 11 Apr 2026 20:36:30 +0800 Subject: [PATCH] Update index.py --- plugins/apache/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apache/index.py b/plugins/apache/index.py index 15ac04a48..458e1d319 100755 --- a/plugins/apache/index.py +++ b/plugins/apache/index.py @@ -266,7 +266,7 @@ def restyOp_restart(): file = initDreplace() # 启动时,先检查一下配置文件 - check = getServerDir() + "/bin/httpd -t" + check = getServerDir() + "/apache/httpd/bin/httpd -t" check_data = mw.execShell(check) if not check_data[1].find('test is successful') > -1: return 'ERROR: 配置出错
' + check_data[1].replace("\n", '
') + '
'