Hi,
Why can't you just change the DocumentRoot to "/home/username/public_htm
l/beta? OR back up and move the beta files into the root.
The issue with your rules are that you are
1. checking the host domain
2. make sure it is not /beta
3. making sure that it is a file or directory
Then redirect request to
www.sitename.com/beta/$1 The next rule simply redirects the root.
So beta will always exist because it is a TRUE directory in your virtual host.
As mentioned above, why not just flip the document root in the httpd.conf?
-Hades666