rewrite or internal redirection cycle while processing "/index.php/index.php/index.php/index.php/ind...

折腾了很久,跟nginx配置没有关系。最终是把php版本从7.1降到5.6才解决的,是跟tp3.2匹配的

转载于:https://www.cnblogs.com/peteremperor/p/9353191.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
根据提供的引用内容中的配置信息,出现"rewrite or internal redirection cycle while internally redirecting to "/index.html""的错误是由于Nginx配置文件中的重定向或循环重定向导致的。 在引用中的配置中,可以看到在location / {}部分的try_files指令中,重定向到了/oeos/index.html,而在引用中的配置和引用中的配置中,又出现了类似的问题,都是在try_files指令中的重定向导致的。 这个错误的原因是,Nginx在查找文件时,如果遇到重定向的情况,会再次按照配置文件中的规则进行重定向,如果出现了循环重定向的情况,就会报错。 解决这个问题的方法是检查配置文件中的重定向规则,确保没有循环重定向的情况发生。可以尝试修改配置文件中的try_files指令,或者检查其他可能引起重定向的地方,例如rewrite指令等。 总结起来,"rewrite or internal redirection cycle while internally redirecting to "/index.html""错误是由Nginx配置文件中的重定向或循环重定向引起的,需要检查配置文件中的重定向规则并进行相应的修改。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [解决nginx 报错提示:rewrite or internal redirection cycle while internally redirecting to “/](https://blog.csdn.net/qq_32406257/article/details/121658449)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [500 rewrite or internal redirection cycle while internally redirecting to “index.html](https://blog.csdn.net/m0_50913327/article/details/127973434)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值