The .htaccess file was not automatically sent to the server via git. Strange because the other times it was transfered automatically. The file is not in my .gitignore.
Now I have an Internal Server Error 500. And that's the case for every route. For example when I try to access to the member/dashboard route in local, it redirects me automatically to the login page if not connected. But it's not the case in production where no redirection is done (only error 500 instead).