In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Nginx uses location to match in url? The parameters after the
Http://www.baidu.com/index.php?a=1&b=2
Location can match url, but not the parameters after url, for example:? a=1&b=2
Demand:
Access address:
Https://www.aposoft.com/all-apowersoft/?from=edm
Can the development requirement be just this full address?
Https://www.aposoft.com/all-apowersoft/?from=edm jumps to 404, then the https://www.aporsoft.com/all-apowersoft page can be accessed normally.
Https://www.aposoft.com/all-apowersoft/?from=abc other parameter values that are not edm can be accessed normally.
Debug the configuration:
Location / {if ($request_uri ~ * ^ / all-apowersoft/\ from\ = edm$) {return 404;}
Test:
Http://dev-aposoft-com.aoscdn.com/all-aposoft/?from=edm reported 404.
Http://dev-aposoft-com.aoscdn.com/all-aposoft/?from=ed reports 200,
Http://dev-aposoft-com.aoscdn.com/all-aposoft/?from=abc reports 200,
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 282
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.