The POST method is not supported for route admin/login. Supported methods: GET, HEAD.
hi guys how are you, can anyone help me on this im using v3 and its work well in local but in producion not , im using VPS and i try all soultion on other posts nothing is help
2 Replies
This solution worked for me.
Great
.htaccess
RewriteEngine On
Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
Remove public URL from the path
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]
Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Fuente:
https://github.com/filamentphp/filament/discussions/11481
GitHub
Getting "The POST method is not supported for route admin/login. Su...
Package Panel builder Package Version v3.0.0 How can we help you? I've recently deployed my Filament application to a server, but I'm encountering an error message stating 'The POST met...
I just had this same issue out of nowhere. Local on Mac with Herd. Tried everything I could find in discussions... and nada. Going back to previous commits I knew worked, didn't work either. I finally just deleted and reinstalled the whole repo. All good now.