Access forbiden - logout

Hello,

In local, i have follow this page and reproduces all the indications. The logout action redirects to a 404 page.
How to solve this?