404从.htaccess rewriterule获取变量值时显示错误

I am getting this error

The requested URL /redirect-sdksm was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

my .htaccess code is

    Options +FollowSymLinks
    RewriteEngine On
    RewriteRule ^redirect-(.*) test2.php?id=$1 [QSA,L]

my test2.php code is

  <?php
  $vl=$_GET['id'];
  echo $vl;
  ?>