[solved] Apache Rewrite Rules with RewriteBase not working

We've migrated a client to LSWS 4.1.10 Ent from an Apache environment. The site worked perfectly in Apache but now the ReWrite rules aren't working correctly. Below are the rules in the problematic .htaccess file:

The rewrite engine appears to be working but its not passing variables on to index.php as it should be. We can't seem to figure out how to get it to work in LSWS even though everything works perfectly in Apache.

The /directory/ folder does actually exist and is the base URL that's getting accessed. We've only changed the names here to protect the client's privacy. In the below log, /consultant/ represents /directory/ above.

Anything contained within the first / after the base directory should be passed to the first variable, which goes to func=. Then anything in the next set of slashes goes to urlA, next set to urlB, and next set to urlC. urlA, urlB, and urlB - or their corresponding variables - might be empty.

Right now LSWS seems to only be passing the first variable and not the 2, 3, and 4 variables.