Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Problem about .htaccess in request method

I'm testing my api. It success on GET and POST method. But another method such as PUT/DELETE/PATCH, the apache server reponse a 301 redirect pernamently to the same url use GET method.
This is my .htaccess file content is:

   RewriteEngine on
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^ index.php [L]
   RewriteRule !^(public/|index\.php) [NC,F]

This is log content for a respone:

::1 - - [13/Mar/2020:01:09:22 +0700] "LINK /mvc HTTP/1.1" 301 328 "-" "PostmanRuntime/7.23.0"
::1 - - [13/Mar/2020:01:09:22 +0700] "GET /mvc/ HTTP/1.1" 200 3 "http://localhost/mvc" "PostmanRuntime/7.23.0" 

Please help and explain the problem of my .htaccess. Thanks for all.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!