视频文件htaccess的URL重写

I want rewrite url

http://site.com/videoplayback?pkey=05131305222303&hkey=a7432d324546a9b2c24abb4e81a26e67&tkey=l4i5w5s444&fkey=05131305222303.mp4

to

http://site.com/videoplayback/051313052223030/a7432d324546a9b2c24abb4e81a26e67/l4i5w5s444/05131305222303.mp4

My htaccess

RewriteRule ^videoplayback/(.*)/(.*)/(.*)/(.*)$ videoplayback?pkey=$1&hkey=$2&tkey=$3&fkey=$4 [L]

But always have error 404 when i try access to this url

http://site.com/videoplayback/051313052223030/a7432d324546a9b2c24abb4e81a26e67/l4i5w5s444/05131305222303.mp4

This works for me:

RewriteRule ^videoplayback/([^/]+)/([^/]+)/([^/]+)/([^/]+).mp4$ /videoplayback?pkey=$1&hkey=$2&tkey=$3&fkey=$4 [L]

Made three changes (some may not be required)

  1. Added .mp4 to the end of the rule
  2. Added slash to the beginning of the redirect
  3. Changed .* to [^/]+ for sanity