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

105
Views
apache RewriteRules "/$2?res=$1" resultado extraño

Estoy escribiendo las reglas de reescritura de Apache como se muestra a continuación (de hecho, es difícil entender la sintaxis de reescritura)

RewriteRule /res/([^/.]+)/([^/.*]+) /$2?res=$1 [QSA]

El resultado se ve extraño y no puedo encontrar una manera de corregirlo.

Prueba 1: http://aaa.com/product/res/aa-bb-cc/json.php
Salida 1: http://aaa.com/product/json?res=aa-bb-cc.php Esperado 1: http://aaa.com/product/json.php?res=aa-bb-cc

Prueba 2: http://aaa.com/product/res/aa-bb-cc/m/s/qt.php?action=edit&record_id=123
Salida 2: http://aaa.com/product/m?res=aa-bb-cc/s/qt.php&action=edit&record_id=123
Esperado 1: http://aaa.com/product/m?/s/qt.php?action=edit&record_id=123&res=aa-bb-cc

Cualquier ayuda será muy apreciada y gracias de antemano.

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!