I'm try to redirect any request to mydomain.com/video/(.*) to video.mydomain.com/$1. I have the following rule:
RewriteRule ^video/(.*)$ http://video.mydomain.com/$1 [R=301,L]
But it doesn't seem to work. Instead it follows an additional rewrite rule which I have later which redirects all requests to index.php.