I need to do a 301 directory redirect in my httpd.conf file but exclude a subdirectory within the directory.Example: RedirectPermanent /redirect/  http://www.mysite.com/.But I want to exclude this subdirectory /redirect/example/.Any ideas?I tried this and it didn't work:RewriteEngine On RewriteCond %{REQUEST_URI} !^/redirect/example/?$ [NC] RewriteRule ^/redirect/? mysite.com [R=301,L] 
301 directory redirect exclude subdirectory
301 redirect;subdirectory