Today found that colleagues in the interface to pass back the value of the time to deal with, found that the iOS and the front end is passed back to the value of Acton (also known as Controller) path, input
Home/sign/add.html
Feel very strange, at first thought is to resolve the problem of the domain name, and then restart re-parse or not, while checking the PHP version, database configuration files are not problems, and finally noted the
It suddenly occurred to me that the. htacess file seems to have moved, open discovery
- <ifmodule mod_rewrite. C>
- Rewriteengine on
- Rewritecond%{request_filename}!-d
- Rewritecond%{request_filename}!-f
- rewritebase/index.php
- Rewriterule ^ (. *) $/index.php?/$1 [L]
- </IfModule>
A. htacss file has been generated according to the actual requirements of the project.
- <ifmodule mod_rewrite. C>
- Rewriteengine on
- Rewritecond%{request_filename}!-d
- Rewritecond%{request_filename}!-f
- Rewriterule ^ (. *) $ index.php?$1 [qsa,pt,l]
- </IfModule>
The Get value in thinkphp is the controller path