Nginx path Parsing

Source: Internet
Author: User
Access address: ju. comadmin. phpDaiLoginshowLogin error prompt: 2015052619: 09: 16 [error] 24049 #0: * 546 rewriteorinternalredirectioncyclewhileprocessing & quot; index. phpindex. phpindex. php...

Address accessed: http://ju.com/admin.php/DaiLogin/showLogin
Error message:
19:09:16 [error] 24049 #0: * 546 rewrite or internal redirection cycle while processing "/index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // admin. php/DaiLogin/showLogin ", client: 127.0.0.1, server: ju.com, request:" GET/admin. php/DaiLogin/showLogin HTTP/1.1 ", host:" ju.com"
Nginx configuration parameters:


The server is the same as the nginx version. How can there be so many indexes. php In the local system?
How should I modify it?

Reply content:

Address accessed: http://ju.com/admin.php/DaiLogin/showLogin
Error message:
19:09:16 [error] 24049 #0: * 546 rewrite or internal redirection cycle while processing "/index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // index. php // admin. php/DaiLogin/showLogin ", client: 127.0.0.1, server: ju.com, request:" GET/admin. php/DaiLogin/showLogin HTTP/1.1 ", host:" ju.com"
Nginx configuration parameters:


The server is the same as the nginx version. How can there be so many indexes. php In the local system?
How should I modify it?

Isn't this a classic endless loop of nginx rewrite. Take youlocation /UnderrewriteLastlastChangebreakThat's all.

Last will continue to match location after detecting URL matching, of course it can match/, so it will be an endless loop. nginx will exit after 10 judgments, that is, you have 1 + 10 = 11 indexes in your question. php.

See here: http://segmentfault.com/a/1190000002797606

The website is accessible.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.