How to convert index.asp to php by apache rewrite

  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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3802e-2c0f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3802e-2c0f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?