Hi.

I'm using OLS as my application server and using Wordpress + Wordfence.

Wordfence requires te addition of a "auto_prepend_file" php directive to fully enable its WAF, and as OLS is not fully compatible with .htaccess rules, I need to add it directly into the php.ini file using: Advanced -> Developer tools php.ini editor on the specific website.

OLS is not automatically taking this configuration (I believe it's normal), but I tried restarting the openlitespeed container, the orchd container and a few others, and restarting the lsws service inside the openlitespeed container, with no luck.

Only after restarting the whole application server machine, it seems to work. So I believe there's something else I need to restart.

Does anyone have a clue on what to restart?

I see lsphp is runing on the main server, one process for each website, but I don't know how to restart it.

I tested this, as suggested in a previous post:

docker exec -it openlitespeed /usr/local/lsws/bin/lswsctrl restart

No luck.

I see there's already a feature request to deal with this.

Write a Reply...
Follow @enhancecp