403 forbidden when production
Help filamen when login 403 forbidden
https://difabel.abiseka.web.id/livewire/update 403 (Forbidden). In production. In model Canaccess panel return true. Still 403
Solution:Jump to solution
I solve it. For sharehosting. Cpanel, Disable domain modsecurity. And add .htaccess in root location.
11 Replies
Help ? Some one.
Not work..
💀
Have you a specific config in your apache or nginx web conf ? Or files permissions on your application directory ?
No. The apps. Work about 5 month to 1 years , In shared hosting. But. Suddenly All apps filament in shared hosting. Cannot access 403 forbidden all in POST Livewire/update.
You're missing the
use Filament\Panel;
import, so that the Panel dependency injection works.I already use that. Filament panel.
This is definitely a permissions issue on your server / or host. I would recommend reaching out to them and working through the issue with them. There is nothing we can do to help. It’s not a filament, livewire or laravel issue.
I agree with @awcodes it is not a filament / livewire issue. Another reason could be the .htaccess file or the mod_rewrite configuration. Need more information and screens to help.
Solution
I solve it. For sharehosting. Cpanel, Disable domain modsecurity. And add .htaccess in root location.