My project developed using laravel6 on apache2. It is working properly in my local system.
When I deployed that project in staging server, My project's all routes are working. but all POST routes gives 419 page expired error even if there is CSRF token in every form.
Login screen appears but after I click on submit button post route is called and it gives me 419 error.
I also created one custom route for testing. but it will give same 419 error. In short, my every post route is giving 419 error.
I checked with giving necessary permission to storage folder, cac开发者_JAVA技巧he folder, also changed env configuration setting( SESSION_DOMAIN, SESSION_SECURE_COOKIE). but no any solution worked.
Is there any apache misconfiguration?
精彩评论