RewriteEngine On
RewriteBase /
# Rewrite

RewriteRule ^([0-9]+)$ index.php\?app_act=shop&id=$1