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

229
Vistas
Mask URL with Selectors Apache

I received a request asking to mask an url like this

commercial.com/en/test/page1 to commercial.com/en/test.page1 (as using selectos)

I tried with the next: RewriteRule "^/en/test.page1" "https://${CommercialName}/en/test/page1" [L,P]

In that case this does not work by sendming me the next server message:

Bad Request

Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit.

But if I change my rule to this works: RewriteRule "^/en/test.pagetest" "https://${CommercialName}/en/test/page1" [L,P]

But then I add another rule and it shows me the same

RewriteRule "^/en/test.pagetest" "https://${CommercialName}/en/test/page1" [L,P] RewriteRule "^/en/test.page2test" "https://${CommercialName}/en/test/page2" [L,P]

Do anyone knows why this error is caused?

PS:

  • 1 I already tried to chage P into PT
    1. Apache 2.4
    2. Working with AEM as CMS
    3. I already tried using RewriteCond as RewriteCond "%{REQUEST_URI}" "^/en/test.page2test"
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