DeituiCms Apache伪静态说明
对于uniApp接口推荐使用伪静态规则进行编写
RewriteEngine on
RewriteBase /
rewritecond %{request_filename} !-f
RewriteRule ^index\.html index.php
#car
RewriteRule ^mmadmin/([_\w]*)/([_\w]*)$ moduleadmin.php?m=$1&a=$2 [QSA,L]
RewriteRule ^mm/([_\w]*)/([_\w]*)$ module.php?m=$1&a=$2 [QSA,L]
#default
RewriteRule ^index/([_\w]*)/([_\w]*)$ index.php?m=$1&a=$2 [QSA,L]
RewriteRule ^admin/([_\w]*)/([_\w]*)$ admin.php?m=$1&a=$2 [QSA,L]
RewriteRule ^shop/([_\w]*)/([_\w]*)$ moduleshop.php?m=$1&a=$2 [QSA,L]
RewriteRule ^sender/([_\w]*)/([_\w]*)$ sender.php?m=$1&a=$2 [QSA,L]