Hide part of the URL from AWS Application Load Balancer

0

Hello,

I have url: https://backend-test.com/test/index.html. And i have rule within ALB that says If HOST HEADER is https://backend-test.com/ forward to target group test. I want to restrict /index.html and when customers browser this url it shows only ttps://backend-test.com/test, without the /index.html part.

How can i achieve this with AWS ALB Rules?

Vasko
preguntada hace 7 meses270 visualizaciones
1 Respuesta
0

3 Options..

  • You would have to create a rule that performs a redirect 301 or 302.
  • You could also block access to this URL but why would this be an issue?
  • You could on your webserver create some rules if using a .htaccess file to perform a URL redirect/rewrite
profile picture
EXPERTO
respondido hace 7 meses
  • Yeah, but how to structure that rule? I already have a rule that points to the target group. So am i suppose to add another rule? Would you like to give me an example?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas