Rewrite rules are not fully working

Hey! I’m trying to add rewrite rules but they are not working for me :/. What I’m trying is just a simple DocumentError 404. Thanks.

Edit: Tested using other rewrite rules and they are working after reboot OLS but DocumentError 404 is still not working.

Unlike LiteSpeed Enterprise, OpenLiteSpeed does not support all .htaccess directives, more details https://cyberpanel.net/2018/09/10/openlitespeed-v1-4-38-has-been-released/

For OLS custom error page, you will need to login to webadmin console (you can find guide about how to in tutorial section) , on vhost configuration.

@qtwrk said:
For OLS custom error page, you will need to login to webadmin console (you can find guide about how to in tutorial section) , on vhost configuration.

Fixed thanks.