随笔分类 -  nginx

摘要:#隐藏thinkphp6的入口文件实现方式: ##在伪静态一栏加入代码 if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; } ##当访问 /admin/login时,会触发上面的URL重写,将规则转换成/index.ph 阅读全文
posted @ 2020-10-24 17:41 cl94 阅读(341) 评论(0) 推荐(0)
摘要:nginx伪静态: rewrite ^/(.*)-htm-(.*)$ /$1.php?$2; 将 list-html-t-3-p-4.html 转到list.php?t-3-p-4 t-3-p-4 用php转换成t=3&p=4格式 php配置文件 之价格选项 $_t = [ 0 => [ 'p' = 阅读全文
posted @ 2019-11-13 07:41 cl94 阅读(187) 评论(0) 推荐(0)