I have some files placed under a particular folder in my old domain like this: http://www.olddomain.com/folder1/.
I want to redirect all requests that try to access
Give this a shot.
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^folder1(.*)$ http://www.newdomain.com/$1 [L,R=301] </IfModule>