title: Laravel VueJS Put. Patch and Delete request 403, permission denied
body: <p>I have developed a management web application with Laravel 7. I use VueJS as the apps' frontend. I have hosted the application in my own VPS, that's running Cent OS with CWP. I get 403 on a PATCH, PUT or DELETE request. Both GET and POST work without any issue. Here's a screenshot of what I get in the chrome dev tools. I have generated a key, cleared cache, config, and routes but nothing worked so far. I have the .htaccess file in the public root.</p>
  <p><a href="https://i.stack.imgur.com/htWB7.png" rel="nofollow noreferrer">403 Error on Put, Patch, and Delete</a></p>
  <p>My .htaccess</p>
  <blockquote>
  <p>Blockquote
  
  
  Options -MultiViews -Indexes
  </p>
  </blockquote>
  <pre><code>RewriteEngine On
  
  # Handle Authorization Header
  RewriteCond %{HTTP:Authorization} .
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  
  RewriteCond %{THE_REQUEST} !(pwa|api) [NC]
  
  # Redirect Trailing Slashes If Not A Folder...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} (.+)/$
  RewriteRule ^ %1 [L,R=301]
  
  # Send Requests To Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  </code></pre>
  
  <p>The application root is one level up from the public root, in a folder called system. I did encounter another problem when I create a link with &quot;ln -s&quot; the storage folder contents also get 403. I didn't use &quot;storage:link&quot; to link the storage files to the public directory, as it makes a public folder in the application root, not in the public root.</p>
  <p>Screenshot of the document root.</p>
  <p><a href="https://i.stack.imgur.com/EWXsO.png" rel="nofollow noreferrer">Document Root Screenshot</a></p>