Rewrite Exclude

Hi,

i have the following rewrite rules

rewrite /files/documents/.* /engine last;
rewrite /templates/(.*(css|js))$ /engine/backend

if (!-e $request_filename) {
rewrite . /shopware.php last;
}

i want everything under
/foobarshopconnection/
to be excludet from the rewrite so that it can be accessed.
example: /foobarshopconnection/index.php/testcall/test/bartest

can someone tell me how to do that?

Thanks
Alex