think\Route::rule('my_jump','/face.php');
Tips for errors:
天蓬老师2017-07-07 16:32:34
First of all, the entry file is hidden. Now there is no need for manual operation by the user. The framework has added the rewrite file to the framework.
thinkRoute::rule('my_jump','/face.php'); Where is the "/" in "/face.php" parsed? Among the five modes of routing address, there is no such syntax. If you want to route to an absolute address, please write it completely. Otherwise, do not add an extension and strictly follow the path_info rules.
If all the above are correct, you can consider changing a browser and trying again.
VM2017-07-07 11:51:25
I configured the rewrite rule to hide the entry file,
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILEN AME} !-f
#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
RewriteRule ^(.* )$ index.php [L,E=PATH_INFO:$1]
</IfModule>