In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "tp5 how to hide admin.php". In daily operation, I believe many people have doubts about how tp5 hides admin.php. The editor consulted all kinds of data and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "tp5 how to hide admin.php"! Next, please follow the editor to study!
Tp5 hide admin.php methods: 1, define the entry file admx.php, and bind the admin module in the entry file; 2, in the config/app.php file, configure forbidden access admin;3, configure nginx pseudo-static.
Operating environment of this article: windows7 system, thinkphp v5.1, DELL G3 computer
How does tp5 hide admin.php?
Tp5 hides the background
For the security of the background, the general back-end developers will hide the background path.
After stepping on the pit for many days, I finally thought of the way for tp5.1 to hide the background directory.
Suppose my background directory is "/ admin"
1. Define the entry file admx.php (which can also be a hard-to-guess file name) and bind the admin module to the entry file
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: 0
*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.