现在是专业版本Apache2.4.58,安装Apache防火墙 9.2,卸掉就能正常访问,安装后站点就打不开。服务器重启了,宝塔也修复了,
报错:Internal Server Error500
环境日志H02613: Error loading /www/server/btwaf/httpd.lua: /www/server/btwaf/httpd.lua:20: module 'cjson' not found:\n\tno field package.preload['cjson']\n\tno file '/usr/share/lua/5.3/cjson.lua'\n\tno file '/usr/share/lua/5.3/cjson/init.lua'\n\tno file '/usr/lib64/lua/5.3/cjson.lua'\n\tno file '/usr/lib64/lua/5.3/cjson/init.lua'\n\tno file '/www/server/btwaf/cjson.lua'\n\tno file './cjson/init.lua'\n\tno file '/www/server/btwaf/httpd/cjson.lua'\n\tno file '/usr/lib64/lua/5.3/cjson.so'\n\tno file '/usr/lib64/lua/5.3/loadall.so'\n\tno file '/www/server/btwaf/cjson.so'
[Sun Mar 31 18:48:09.726037 2024] [lua:error] [pid 3449:tid 140183784183360] AH02613: Error loading /www/server/btwaf/httpd.lua: /www/server/btwaf/httpd.lua:20: module 'cjson' not found:\n\tno field package.preload['cjson']\n\tno file '/usr/share/lua/5.3/cjson.lua'\n\tno file '/usr/share/lua/5.3/cjson/init.lua'\n\tno file '/usr/lib64/lua/5.3/cjson.lua'\n\tno file '/usr/lib64/lua/5.3/cjson/init.lua'\n\tno file '/www/server/btwaf/cjson.lua'\n\tno file './cjson/init.lua'\n\tno file '/www/server/btwaf/httpd/cjson.lua'\n\tno file '/usr/lib64/lua/5.3/cjson.so'\n\tno file '/usr/lib64/lua/5.3/loadall.so'\n\tno file '/www/server/btwaf/cjson.so'
|