Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

154
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda