Hello there,
Ok so if I understand you correctly, you need to do a rewrite for all URIs except ones starting with /blah/ ?
You can do that with the following rewrite, using negative lookahead, the example worked fine on my server:
[code]
rewrite ^(?!(/blah/))(.*)$ /dir_one/$2 break;
[/code]
This will rewrite any URI that is not in /blah/ to /dir_one/.
For example:
- file www.site.com/page.php will be rewritten to www.site.com/dir_one/page.php
- file www.site.com/dir_two/page.php will be rewritten to www.site.com/dir_one/dir_two/page.php
- file www.site.com/blah/page.php will remain unchanged
Hope this helped,
cheers