Website Form do not carry any value when .htaccess File Extension Remover Code is Used

后端 未结 1 1230
北海茫月
北海茫月 2021-01-24 20:38

I have this code in HTACCESS file and it works fine as it remove .php file extension.It also allows page to load without extension.

# For security reasons, Optio         


        
1条回答
  •  -上瘾入骨i
    2021-01-24 21:15

    Insert this rule just below RewriteBase line to avoid redirecting POST requests:

    RewriteCond %{REQUEST_METHOD} POST
    RewriteRule ^ - [L]
    

    0 讨论(0)
提交回复
热议问题