200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > nginx rewrite 重定向有关问题

nginx rewrite 重定向有关问题

时间:2023-02-11 10:23:48

相关推荐

nginx rewrite 重定向有关问题

后端开发|php教程

nbsp,index,php,770422332,rewrite

后端开发-php教程

nginx rewrite 重定向问题?

/770422332/index.php => /index.php?id=770422332

thinkphp 问卷源码,ubuntu16 重启,tomcat5目录结构,爬虫小鳄鱼,php源码详细安装步骤,seo商城lzw

我想怎么变化该怎么写rewrite

在线圈圈赞源码,ubuntu自带画图工具,tomcat服务器首页,汽车爬虫子,php用户登录界面代码,色欲seolzw

location / {

rewrite ^/(/d+)\/index\.php$ /index.php?id=$1 last;

}

手机排行榜页面源码,ubuntu固态分区方案,Python爬虫翻译新版,php函数变量计算机加减乘除,前端seo开发lzw

我怎么写不行~不知道错在哪里~帮忙看下谢谢~!

——解决思路———————-

/770422332/index.php

你这个是啥规则啊?

/index/770422332

=>

rewrite ^/index\/(/d+)$ /index.php?id=$1 last;

——解决思路———————-

rewrite "^/(/d+)/index.php$" /index.php?id=$1 last;

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。