Apache Rewrite redirects the asp page to php

  1. there was a zz_index.asp page in the previous project, but now we have made a whole website with apache+php, but the URL of zz_index.asp has printed a lot of QR codes and cannot be modified, so I want to use the Rewrite function of apache:
.

Jump zz_index.asp?sn=123456 to / index.php/fw/index?sn=123456

the following words don"t work, what should I do?

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
  
  RewriteCond %{REQUEST_FILENAME} (\.asp)
  RewriteRule (\.asp) index.php/fw/index$1 [L]
</IfModule>
Mar.03,2021
Menu