thinkphp5 is deployed to the secondary directory of the windows server! Urgently urgently
phpcn_u15822017-05-27 17:43:35
0
3
649
Deploy the thinkphp5 project to the website directory on the windows server, and use the domain name to access the public/front page to display normally. The route designated to the background reports not found. Please provide a solution.
Removed the rewriting in the .htaccess file, and added index.php access to the links, but there is still a problem. My controllers have inherited a class to determine login, but the inherited routes cannot Access, if you don’t inherit it, you can windows + apache + thinkphp5.0
Please refer to the official website documentation for deployment instructions!
It depends on whether you are using iis or apache server. Read the documentation and modify the configuration file or .htaccess file.
Removed the rewriting in the .htaccess file, and added index.php access to the links, but there is still a problem. My controllers have inherited a class to determine login, but the inherited routes cannot Access, if you don’t inherit it, you can
windows + apache + thinkphp5.0