Did you ever wonder how to exclude a directory from a .htaccess file. Here is the solution, it works perfect for me.

RewriteRule ^(videodir|imagedir) - [L]