I have got an OpenCart site, but have to create an addtional /test directory that is accessible.

Automatically, all demands are delivered to OpenCart. I am attempting to make it send all except /test. I have attempted a couple of suggestions on this website already, but either nothing happens, or I recieve a 500 Internal Server Error.

This is actually the rewrite area of the OpenCart provided .htacccess:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

I believe I want a line such as the following after RewriteBase, but can't get anything working yet.

RewriteCond %{REQUEST_URI} !^/test

Thanks!

I believe

RewriteCond %{REQUEST_URI} !^test/(.*)

must do it