Support the ongoing development of Laravel.io →
Requests Forms Queues
Last updated 2 years ago.
0

probably the issue is in apache server.

you need to tell apache to accept all methods.

http://stackoverflow.com/questions/1402229/why-does-my-web-server-software-disallow-put-and-delete-requests

0

astroanu said:

probably the issue is in apache server.

you need to tell apache to accept all methods.

http://stackoverflow.com/questions/1402229/why-does-my-web-server-software-disallow-put-and-delete-requests

My .htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

<Limit GET POST PUT DELETE>
  Allow from all
</Limit>

And still does not working

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.