0
我有一個重寫規則GET和POST:的PHP腳本如何正確設置URL重寫規則只接受POST
<LocationMatch "^/my/script/dir/?$">
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
RewriteRule .* /resources/scripts/storage/admin/list.php
Script POST /resources/scripts/storage/admin/create.php
</LocationMatch>
我將如何修改它,只允許POST?在這個