apache 的这样写
RewriteEngine On
RewriteRule ^(?!index\.php|其他\.php)(.*)\.php$ index.php [L]
nginx的这样写
rewrite ^/(?!index\.php|其他\.php)(.*)\.php$ index.php last;
apache 的这样写
RewriteEngine On
RewriteRule ^(?!index\.php|其他\.php)(.*)\.php$ index.php [L]
nginx的这样写
rewrite ^/(?!index\.php|其他\.php)(.*)\.php$ index.php last;