I want to add rewrite rules inside my virtual host. When I edit and save rule I get 404 error as shown in the screenshot.
When I checked my logs I found this at
I am unable to figure out what is actually causing this and how to fix it.
When I checked my logs I found this at
/usr/local/lsws/logs/error.log
Code:
2021-09-08 11:00:21.514576 [NOTICE] [346096] [!!!UPDATE!!!] new stable version 1.7.14.0 is available.
2021-09-08 11:00:51.493675 [NOTICE] [346096] [LocalWorker::workerExec] VHost:_AdminVHost suExec check uid 997 gid 33 setuidmode 2.
2021-09-08 11:00:51.493710 [INFO] [346096] [LocalWorker::workerExec] VHost:_AdminVHost suExec check uid 997 gid 33 setuidmode 2.
2021-09-08 11:00:51.493721 [NOTICE] [346096] [LocalWorker::workerExec] Config[AdminPHP]: suExec uid -1 gid -1 cmd /usr/local/lsws/admin/fcgi-bin/admin_php -c ../conf/php.ini, final uid 997 gid 33, flags: 0.
2021-09-08 11:00:51.494120 [NOTICE] [346096] [AdminPHP] add child process pid: 346120
2021-09-08 11:01:01.376068 [NOTICE] [346096] [122.177.106.33:21859:HTTP2-21#_AdminVHost] [STDERR] PHP Fatal error: Call to a member function GetChildren() on array in /usr/local/lsws/admin/html.open/lib/DTblMap.php on line 134
2021-09-08 11:02:05.000445 [NOTICE] [346096] [LocalWorker::workerExec] VHost:_AdminVHost suExec check uid 997 gid 33 setuidmode 2.
2021-09-08 11:02:05.000498 [INFO] [346096] [LocalWorker::workerExec] VHost:_AdminVHost suExec check uid 997 gid 33 setuidmode 2.
2021-09-08 11:02:05.000533 [NOTICE] [346096] [LocalWorker::workerExec] Config[AdminPHP]: suExec uid -1 gid -1 cmd /usr/local/lsws/admin/fcgi-bin/admin_php -c ../conf/php.ini, final uid 997 gid 33, flags: 0.
2021-09-08 11:02:05.001071 [NOTICE] [346096] [AdminPHP] add child process pid: 346137