Hi, everyone,

I'm sure this is simple but I just can't see it. I've been bashing my head against the wall for over an hour now. I need a rewriterule to permanently move an entire website, except for the pages living under one directory. Permanently moving an entire web site is trivial:

RewriteEngine On
RewriteRule ^.*$ http://www.newdomain.com [NC,R=301,L]
However, all requests for pages under one single subdir should not be redirected. I.e.:

should be redirected to www.newdomain.com, but requests like


should not be redirected.

So how do I plonk an exception into my rewriterule to leave all requests for pages living in or under the subdir "safethisoldstuff" alone?


// FvW