排序
phpstudy伪静态设置的问题
打开phpstudy控制面板,找到php扩展和设置--apache扩展。 在apache扩展菜单里面,找到rewrite_module模块,把它启用勾上。也可以直接打开apache配置文件里面,“/apache/conf/” 下的 httpd.con...
Nginx伪静态配置和常用Rewrite伪静态规则集锦
Nginx伪静态配置主要是通过Rewrite规则来实现的,这里总结些常用的Rewrite规则: 1. 隐藏index.php rewrite ^/index\.php(.*)$ /$1 last; 2. 移除末尾的html后缀 rewrite ^/(.+)\.html$ /$1 last;...








