Cyberpanel is ignoring my Rewrite Rules

I’m trying to add the following Rewrite Rule:

RewriteEngine On RewriteCond %{REQUEST_URI} ^/sites/(\d+)/revbid\.js$ RewriteRule . /check_ip.php?id=$1 [QSA,L]

We have the following Thing: we set up the Subdomain prebid(.)site(.)net/{id}/xxx.js that 301s to revbid(.)net/sites/{id}/xx.js

Now we want to have the check_ip.php?id={id} script in between that that checks all the incoming Traffic with a Go API we’ve written for their Traffic Quality.

revbid(.)net/check_ip.php?id={id} now returns the debugging statements i added but neither prebid(.)revbid(.)net/{id}/xxx.js or revbid(.)net/sites/{id}/xxx.js do

What is the Issue here?

You are using Openlitespeed or LiteSpeed ent?