About Mac MAMP PRO deployment thinkphp5.1 access 404 Home page access is normal, other directory access 404 Configuration is as follows:
if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?s=/ last; break; }
You have the wrong configuration here, rewrite ^/(.*)$ /index.php?s=/$1 last;
Change to: rewrite ^/(.*)$ / index.php/$1 last; try
You have the wrong configuration here, rewrite ^/(.*)$ /index.php?s=/$1 last;
Change to: rewrite ^/(.*)$ / index.php/$1 last; try