DeituiCms的Nginx伪静态设置说明
关于DeituiCms的Nginx伪静态说明
if (!-e $request_filename) { rewrite ^/index\.html /index.php last; rewrite ^/mmadmin/([_\w]*)/([_\w]*)$ /moduleadmin.php?m=$1&a=$2 last; rewrite ^/mm/([_\w]*)/([_\w]*)$ /module.php?m=$1&a=$2 last; #default rewrite ^/index/([_\w]*)/([_\w]*)$ /index.php?m=$1&a=$2 last; rewrite ^/admin/([_\w]*)/([_\w]*)$ /admin.php?m=$1&a=$2 last; rewrite ^/shop/([_\w]*)/([_\w]*)$ /moduleshop.php?m=$1&a=$2 last; rewrite ^/sender/([_\w]*)/([_\w]*)$ /sender.php?m=$1&a=$2 last; }