No, it won't. Like I said it was a guess and I'd never used mod rewrite before. I think what you need to do is actually something like this:
Code:
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^$ subdir/
The FollowSymlinks option must be enabled for any rules to work. It's probably already enabled, but it doesn't hurt to specify it here as well. RewriteEngine On turns rewrite on of course. RewriteRule matches "" (nothing) after / (
http://mydomain.com/), and redirects it to "subdir/". The URL that the user sees in their browser is still
http://mydomain.com/. This time I had a way of testing it. It worked for me.