Add 'PATCH' to request method in order to enable 'PATCH' method in Horizon

Change-Id: I2e5f08cdde91c842c574d5318b8ae3113dd6fa80
Closes-Bug: #1821213
This commit is contained in:
zhouyao 2019-07-30 16:22:53 +08:00
parent 777e5994e8
commit 058769c49c
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ conf:
WSGIScriptAlias / /var/www/cgi-bin/horizon/django.wsgi
WSGIPassAuthorization On
RewriteEngine on
RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE)
RewriteCond %{REQUEST_METHOD} !^(POST|PUT|GET|DELETE|PATCH)
RewriteRule .* - [F]
<Location "/">