RewriteCond %{HTTP_HOST} ^www\.[^.]+\.testsite\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^[^.]+\.testsite\.com$
will this match http://www.user.testsite.com and http://user.testsite.com sorry.i have no way to test this myself.i'm trying to help out my server admin. tia, adrian